[techtalk] How a script is called
Conor Daly
conor.daly at oceanfree.net
Wed Aug 16 08:15:13 EST 2000
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 <conor.daly at oceanfree.net>
Domestic Sysadmin :-)
More information about the Techtalk
mailing list