( uudecode -o - 2/dev/null || uudecode -p 2/dev/null )
That fails on both AIX and IRIX. Neither support any uudecode option
to write to stdout.
Do AIX or IRIX have any pseudo device for stdout like /dev/stdout in Linux?
Pete Forman [EMAIL PROTECTED] writes:
That fails on both AIX and IRIX. Neither support any uudecode option
to write to stdout.
So, what does one do for those systems?
tmpdir=/tmp/rcp.$$
( mkdir $tmpdir
cd $tmpdir
uudecode
cat * )
rm -rf $tmpdir
Whee...
Or
Kai Großjohann writes:
I have changed the default value for the command which invokes
uudecode. It now looks like this:
( uudecode -o - 2/dev/null || uudecode -p 2/dev/null )
The above command expects the encoded file as stdin and should
print the decoded file to stdout. I have