[ale] scripts, file I/O, and loss of hair

James Sumners james.sumners at gmail.com
Thu May 12 18:38:51 EDT 2011


Also:

"When the old-style backquoted form of substitution is used, backslash
retains its literal meaning except when followed by "$", "`", or "\".
The first backticks not preceded by a backslash terminates the command
substitution. When using the "$(COMMAND)" form, all characters between
the parentheses make up the command; none are treated specially." --
[1]

$(echo "This is much nicer than backquotes.")

[1] -- http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_04.html#sect_03_04_04

On Thu, May 12, 2011 at 5:14 PM, The Don Lachlan
<ale-at-ale.org at unpopularminds.org> wrote:
> Also,
>
>  directions=$(cat $2)
>
> should be replaced by
>
>  directions=`<${1}`



-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59



More information about the Ale mailing list