• 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: Mount With Password
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Mount With Password
      • From: Luther Fuller <email@hidden>
References: 
 >Mount With Password (From: Luther Fuller <email@hidden>)
 >Re: Mount With Password (From: Axel Luttgens <email@hidden>)
 >Re: Mount With Password (From: Luther Fuller <email@hidden>)
 >Re: Mount With Password (From: Axel Luttgens <email@hidden>)
 >Re: Mount With Password (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Mount With Password
  • Next by Date: Re: Mount With Password
  • Previous by thread: Re: Mount With Password
  • Next by thread: Re: Mount With Password
  • Index(es):
    • Date
    • Thread