A radical idea - taking shell functi

z at rocksvax.UUCP z at rocksvax.UUCP
Wed Aug 14 04:32:00 AEST 1985


It sounds like Mark has come across a common problem.  How about passing the
argument to the command as optional attributes in the X. file.  Eg.:

F D.xxxx
I D.xxxx
A This is the first arg to the following command 
A arg2 here
A
A Boo
A #``
C rmail "This is the first arg to the following command " "arg2 here" "" "Boo" "#``"

Thus "old" uucp's will just try to deal with command line while "new" uucp's
will accept the A lines and simply strip anything after the first string in
the C line.

The one problem I see with this scheme is that you can't have a newline
character passed as an argument.

//Z\\
James M. Ziobro
Ziobro.Henr at Xerox.COM
{rochester,amd,sunybcs,allegra}!rocksvax!z



More information about the Comp.unix.wizards mailing list