Pipes
Pipes
- Subject: Pipes
- From: "Marc K. Myers" <email@hidden>
- Date: Sat, 10 Jan 2004 23:44:39 -0500
Could someone tell me why this works:
[1] ps -acx | grep -i "$1"
and this doesn't?
[2] ls -la | grep -i "$1"
This *will* work:
[3] ls -la | grep -i "${1}"
and this will work
[4] ps -acx | grep -i "${1}"
but I can't figure out why [2] won't.
Marc [01/10/04 11:43:56 PM]
PS: The numbers in brackets are not part of the commands.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.