• 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: Environment in shell scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Environment in shell scripts


  • Subject: Re: Environment in shell scripts
  • From: Chris Devers <email@hidden>
  • Date: Wed, 20 Oct 2010 10:11:37 -0400

Surely that should be ~/ (or just $HOME), no? 

(Unless this is expected to run on Windows... :-)

Anyway, it might be useful to see what you're trying that isn't working, because most scripts should just be able to use ~/ or $HOME without a problem. If that isn't working for you, there are other ways to figure this out, but they get more complicated quickly, so it would be useful to be clear that that's actually the issue before pasting in sample code showing how to figure this out. 


-- 
Chris Devers


On Wed, Oct 20, 2010 at 9:09 AM, Oliver Kern <email@hidden> wrote:
~\ is the current Users homefolder

Von meinem iPhone gesendet

Am 20.10.2010 um 14:23 schrieb Robert Peirce <email@hidden>:

> Is there any way to get it.  I would like to know where $home|$HOME is so the script I included in the workflow doesn't have to be edited for different users.  Without the location of home each user has to have his own copy of the worflow and create his on app. _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Automator-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



--


--
Chris Devers
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Environment in shell scripts (From: Robert Peirce <email@hidden>)
 >Re: Environment in shell scripts (From: Oliver Kern <email@hidden>)

  • Prev by Date: Re: Environment in shell scripts
  • Next by Date: Re: Output
  • Previous by thread: Re: Environment in shell scripts
  • Next by thread: Different results from "Get Value of Variable"
  • Index(es):
    • Date
    • Thread