It's in the docs, maybe not prominent enough though: https://docs.factorcode.org/content/article-cookbook-scripts.html at the bottom of the page
Jon On Tue, Apr 21, 2020 at 2:14 AM Alexander Ilin <ajs...@yandex.ru> wrote: > > Thanks for the quick reply! I think it should be in the docs, but either it's > self-evident and not worth mentioning, or I failed to find it. > I was searching around the command-line parameters (-e, -run, etc.) > > 21.04.2020, 02:15, "John Benediktsson" <mrj...@gmail.com>: > > Yes, if you put a she-bang at the top you can just run it. > > > > $ cat hello > > #!/path/to/factor > > USE: io ; > > “HELLO WORLD” print > > > > $ ./hello > > > >> On Apr 20, 2020, at 4:10 PM, Alexander Ilin <ajs...@yandex.ru> wrote: > >> > >> Hey, guys! > >> > >> I could not find this in the help. Does Factor support she-bang style > >> scripts? > >> > >> ---=====--- > >> Александр > >> > >> _______________________________________________ > >> Factor-talk mailing list > >> Factor-talk@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/factor-talk > > > > _______________________________________________ > > Factor-talk mailing list > > Factor-talk@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/factor-talk > > ---=====--- > Александр > > > > _______________________________________________ > Factor-talk mailing list > Factor-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/factor-talk _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk