C> Can you offer an appropriate patch?
Probably use part from the Info page,
`q [EXIT-CODE]'
This command only accepts a single address.
Exit `sed' without processing any more commands or input. Note
that the current pattern space is printed if auto-print is not
disabled with the `-n' options. The ability to return an exit
code from the `sed' script is a GNU `sed' extension.
I say "part" as man pages are supposed to be not as good as Info
pages...
What was bugging me the most is that in the past at least one could
still see all the parameters on man pages... it was just their
explanations were shorter. Now the man pages don't even guarantee one
can see all the parameters.
Did some experiments that didn't reveal too much already know, but
appending here anyway.
$ sed q55 /dev/null ;echo $?
0
$ sed q\ 55 /dev/null ;echo $?
0
$ echo|sed q\ 55 /dev/null ;echo $?
0
$ echo|sed q\ 55 ;echo $?
55
$ echo|sed q55 ;echo $?
55
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]