• 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: passing shell script arguments?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: passing shell script arguments?


  • Subject: Re: passing shell script arguments?
  • From: Star <email@hidden>
  • Date: Thu, 2 Oct 2003 16:40:30 -0400 (GMT-04:00)

Hi Andrew,

Thanks so much for the help, I'm dying on the vine here.

>> For a start, what is 'myShellCode' defined as?

myShellCode:
is the text of the shell script itself. I read it in (as text) to a property
of the applescript so that I don't have it laying around as a seperate
loose component. The shell script is huge and this part seems to
be working fine as it asks for the "test_file log_file" which are it's
arguments to look for when processing.

>> Are you specifying full path names to your files?
>> Do the filenames contain spaces?

Well the test files names do not, but I'm sure it will be processing
file names that will have spaces in them. And, yes I am using the
full file's alias and trying to pass it as a posix path to the shell
script. . . . without success

>> Does it work if you use 'quoted form of' the paths? This is
>> the safest way to pass filenames to shell scripts.

Well I have not tried that, can you provide an example of how I
would do that. I am not familiar with that syntax at all. I
have no clue what the syntax would look like.
_______________________________________________
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.

  • Prev by Date: Re: passing shell script arguments?
  • Next by Date: address book
  • Previous by thread: Re: passing shell script arguments?
  • Next by thread: Re: passing shell script arguments?
  • Index(es):
    • Date
    • Thread