• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Pipes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Pipes
      • From: Graff <email@hidden>
  • Prev by Date: Re: Obtaining default Email application name
  • Next by Date: Re: Pipes
  • Previous by thread: iPhoto 4
  • Next by thread: Re: Pipes
  • Index(es):
    • Date
    • Thread