Re: Mount With Password
Re: Mount With Password
- Subject: Re: Mount With Password
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 29 Mar 2010 09:36:37 -0400
printf has a lot of power, but all you're doing here is taking
advantage of the fact that it doesn't automatically append a newline,
unlike echo.
You could use the newline-suppression character \c:
do shell script "echo 'abcd\\c'"
which works in POSIX mode bash, but that doesn't work in bash-mode
bash. AFAIK, there's no echo(1)-based solution that works both ways.
Hence printf.
_______________________________________________
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