• 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
Re: Pipes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pipes


  • Subject: Re: Pipes
  • From: Christopher Nebel <email@hidden>
  • Date: Sun, 11 Jan 2004 17:35:23 -0800

The braces are not necessary, but the quotes are. Consider parameters that have spaces or meta-characters like '*' in them -- if you don't quote, you'll get the wrong answer.

--Chris Nebel
AppleScript Engineering

On Jan 11, 2004, at 12:32 PM, Graff wrote:

Those look fine to me but I would remove the quotes and the curly braces, they are not needed. For example, instead of:
ls -la | grep -i "${1}"
use
ls -la | grep -i $1
_______________________________________________
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.

References: 
 >Re: Pipes (From: "Marc K. Myers" <email@hidden>)
 >Re: Pipes (From: Graff <email@hidden>)

  • Prev by Date: Re: Unvirtual ambient photon quotient
  • Next by Date: get numbers from excel
  • Previous by thread: Re: Pipes
  • Next by thread: File age
  • Index(es):
    • Date
    • Thread