[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
newlispfanclub.alh.net • View topic - newlisp with filter function (unix only)
Page 1 of 1

newlisp with filter function (unix only)

PostPosted: Sat May 19, 2012 8:01 pm
by newdep
Hi Lutz,

is it possible to extend newlisp so that its capable of beeing a 'filter'.
So it accepts input during startup.

example:

echo "(println \"hello newlisp\")" | newlisp -e '(eval $main-args)'

I know $main-args wont work here but its just an example.

I would like to use newlisp in the command stream of linux this way.

Hope its something you to concider?

Greetings :-)

Re: newlisp with filter function (unix only)

PostPosted: Sun May 20, 2012 7:15 am
by Lutz

Re: newlisp with filter function (unix only)

PostPosted: Sun May 20, 2012 7:50 am
by newdep

Re: newlisp with filter function (unix only)

PostPosted: Sun May 20, 2012 8:21 am
by Lutz

Re: newlisp with filter function (unix only)

PostPosted: Sun May 20, 2012 8:35 am
by newdep
Of all options i did not test read-line... how stupid of me ;-) Thanks..