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

Re: POSIX file


  • Subject: Re: POSIX file
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 06 Oct 2003 07:27:26 -0700

On 10/6/03 3:27 AM, "Christopher Nebel" <email@hidden> wrote:

> On Oct 5, 2003, at 1:57 PM, Paul Berkowitz wrote:
>
>> If you receive a POSIX path from somewhere, it will have spaces within
>> the
>> path escape-backslashed, or else it will be in "quoted form" with
>> single
>> quotes.
>
> Where are you getting your POSIX paths from, exactly? Quoting (either
> using quotes or backslashes) is purely a shell construct, and has
> nothing to do with the actual path or its POSIX-ness. It's possible to
> remove the quotes by running the string through echo(1), but depending
> on where they're coming from, it's probably possible to generate the
> correct data directly.


In this particular case, I was trying to help someone on a Python mailing
list who needed Mac-type paths for some function. I had to forego the
pleasure of suggesting an AppleScript solution. Someone else had an
all-Python way of doing it. I'm pretty much a total novice at things POSIX,
so I haven't seen POSIX paths outside the shell context, and have never seen
one that wasn't backslashed or quoted there. I'll wait until I come upon a
concrete example, and will return to the issue then. Thanks.

--
Paul Berkowitz
_______________________________________________
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: POSIX file (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Option key (was Re: Sorting)
  • Next by Date: Get a list of folders and then get told the items in the list don't exist
  • Previous by thread: Re: POSIX file
  • Next by thread: Assistive devices.
  • Index(es):
    • Date
    • Thread