pylon42
November 7th, 2007, 03:40 PM
I'm not a programmer. I'm just messing around with a bash script tutorial cause it looks fun and I'm bored at work.
Is there a way to get commands such as: grep, awk, and sed to refer within the script rather than looking for external files?
Ex:
grep PING blahPINGblah
where "blahPINGblah" is a string and not an external file reference?
Is there a way to get commands such as: grep, awk, and sed to refer within the script rather than looking for external files?
Ex:
grep PING blahPINGblah
where "blahPINGblah" is a string and not an external file reference?