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

Jim Kinney jim.kinney at gmail.com
Fri May 13 17:27:38 EDT 2011


On Fri, May 13, 2011 at 7:37 AM, Geoffrey Myers <lists at serioustechnology.com
> wrote:

> Jim Kinney wrote:
> > I have a simple test script my_script
> >
> > #!/bin/bash
> > # this is a crap script
> > myout="$2"'.crap'
> > directions=$(cat $2)
> > echo "$myout"
> > echo "$directions"
> > exit
> >
> > It is launched by:
> >
> > ./my_script < test1.dat
>
> You're not passing a $2 ???
>

<DOH!> smacks head HARD...
THAT was the fatal flaw in my plan to take over the world.
i'll go back to win98 now...



NOT!

-- 
-- 
James P. Kinney III

As long as the general population is passive, apathetic, diverted to
consumerism or hatred of the vulnerable, then the powerful can do as they
please, and those who survive will be left to contemplate the outcome.
- *2011 Noam Chomsky*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110513/72e50447/attachment.html 


More information about the Ale mailing list