[olug] sed issues inside of a script
Luke -Jr
luke at dashjr.org
Tue Nov 13 22:46:11 UTC 2007
On Tuesday 13 November 2007, John Hobbs wrote:
> Also, thanks Luke-Jr. I was playing with that and I never knew you
> could do substitutions on a string by treating it as an array like
> that. Very cool.
No array functionality involved... ${var} is the "standard" way to do variable
references of any kind in bash, deprecating the sh standard of $var and most
of the modifiers within {} are still expecting a normal scalar value.
More information about the OLUG
mailing list