TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:10162] awk syntax help needed
> As it is, I think you're missing "'s around the argument to the
>system command. I'm guessing that your command should look like this:
>system("cp /from/this/dir/" + $1 + ".ext /home/here/")
I thought I had tried that; but with single quotes. <shrug>
turns out the command I wanted was:
system("cp /from/this/dir/"$1".ext /home/here/")
thanks a bunch!
Carl Soderstrom
System Administrator 307 Brighton Ave.
Minnesota DHIA Buffalo, MN
carls@agritech.com (612) 682-1091