Anyone know how a bash / csh script can tell if it was called in a pipeline or
directly from the commandline?  I've a script that I want to run either by
catting a file through a pipe or by invoking from the commandline with the
file as an arg and I need the script to behave slightly differently in either
case.

-- 
Conor Daly <[EMAIL PROTECTED]>

Domestic Sysadmin :-)


_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

Reply via email to