Skip to main content
11 events
when toggle format what by license comment
S Apr 24, 2014 at 20:47 history suggested dimo414 CC BY-SA 3.0
Spelling / typos
Apr 24, 2014 at 20:45 review Suggested edits
S Apr 24, 2014 at 20:47
Apr 24, 2014 at 20:44 vote accept dimo414
Apr 24, 2014 at 20:43 comment added dimo414 "There is no best way" is a perfectly good answer. Oftentimes there is a recommended way or best practice, which is why I was asking. For my use case, I can more easily expect users to have an environment variable set, but I agree a ~/.something configuration file is generally more reasonable.
Apr 24, 2014 at 20:30 history edited Bananguin CC BY-SA 3.0
Tried to explain that the question is to vague for a definitive answer.
Apr 24, 2014 at 20:29 comment added Bananguin And why not as an argument to the script? There is no best way (see edit to my answer), there is only sensible for your intents and purposes.
Apr 24, 2014 at 20:10 comment added dimo414 I want to run a script which emails a remote address. It has to be specified somewhere.
Apr 24, 2014 at 19:48 comment added Bananguin IMO "the best" way does not involve the users specifying it ...
Apr 24, 2014 at 19:43 history edited Bananguin CC BY-SA 3.0
Added an explicit oppinion paragraph as a response to the OPs comments.
Apr 24, 2014 at 19:30 comment added dimo414 The purpose of the script is remote notification, as such local mail is a pretty poor default. The user can safely be expected to specify a remote address they'd like to use. How this is best specified is the question at hand.
Apr 24, 2014 at 19:28 history answered Bananguin CC BY-SA 3.0