How do the environments of a standard Terminal command-line and a bash script differ?
- by fred.bear
I know there is something different about the environment of the Terminal command-line and the environment in a bash script, but I don't know what that difference is...
Here is the example which finally led me to ask this quesiton; it may flush out some of the differences.
I am trying to strip leading '0's from a number, with this command.
…