Using uwin 4.5 on windows7, the following doesn't seem to work in ksh
(or /bin/sh):

newarg=`echo $1 | sed 's!a!b!'`

It appears that the command-line arguments from the parent process may
not be passed to the sub-shell when using a pipe within back-ticks.  On
the other hand, the following does work:

oldarg1=`echo $1`

Jim


_______________________________________________
uwin-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/uwin-users

Reply via email to