Re: Re. Help with simple grep - Thanks
Re: Re. Help with simple grep - Thanks
- Subject: Re: Re. Help with simple grep - Thanks
- From: "Mark J. Reed" <email@hidden>
- Date: Sun, 31 Aug 2008 09:13:50 -0400
On Sat, Aug 30, 2008 at 5:41 PM, Axel Luttgens <email@hidden> wrote:
> words of (do shell script "mdls -name kMDItemPixelHeight -name
> kMDItemPixelWidth -raw " & quoted form of x)
If you run that in a Terminal, you won't be able to see the separator
(it's a nul character), so it'll look like the width and height are
jammed together into a single value, but AppleScript can see the
delimiter fine.
An easy way to separate the values in the Terminal is to use xargs -0:
mdls -name kMDItemPixelHeight -name kMDItemPixelWidth -raw | xargs -0 echo
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden