Re: do shell script - quotation marks problem
Re: do shell script - quotation marks problem
- Subject: Re: do shell script - quotation marks problem
- From: Martin Orpen <email@hidden>
- Date: Sat, 18 Dec 2004 18:57:28 +0000
on 18/12/04 5:43 pm, Armin Egginger wrote:
> only for example:
> do shell script " grep Volumename | cut -d " " -fl"
Why are you using quote marks with cut?
If you want to use a space as a delimiter you'd do something like:
$ echo 'hello world' | cut -d\ -f1
hello
Noting that there are two spaces after the backslash and adding an
additional backslash to use it in AS:
do shell script "echo 'hello world' | cut -d\\ -f1"
--
Martin Orpen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden