I'm on a AIX box and need a program that when used after a pipe does nothing.
I'll be more exact. I need something like this:
if [ $NOSORT ] ; then SORTEXEC="/usr/bin/doesnothing" else SORTEXEC="/usr/bin/sort -u" fi # BIG WHILE HERE do done | SORTEXEC
I tried to use
tee > /dev/null, but I don't know if there is another better option available.
Can anybody help with a more appropriate program then
Thanks in advance