Re: Help with script.

2010-05-19 Thread Afflictedd2
Thanks man, I appreciate your help. Greg Wooledge wrote: > > On Tue, May 18, 2010 at 10:08:54AM -0700, Afflictedd2 wrote: >> >> I'm tryin to build a script that will extract columns from a comma >> sepparated or x delimited file. > > And do what with them? That matters, a lot. > >> I get th

Re: Help with script.

2010-05-19 Thread Allodoxaphobia
On Tue, 18 May 2010 10:08:54 -0700 (PDT), Afflictedd2 wrote: > > I'm tryin to build a script > > Any help appreciated. comp.unix.shell

Re: Help with script.

2010-05-19 Thread Greg Wooledge
On Tue, May 18, 2010 at 10:08:54AM -0700, Afflictedd2 wrote: > > I'm tryin to build a script that will extract columns from a comma > sepparated or x delimited file. And do what with them? That matters, a lot. > I get the following error: > > Naix:Bash Naix$ ./extractCol.sh , cutDemo.input 3 >

Help with script.

2010-05-19 Thread Afflictedd2
Hi eveyrone, I'm tryin to build a script that will extract columns from a comma sepparated or x delimited file. This is what I have so far, but it doesn't work. I get the following error: Naix:Bash Naix$ ./extractCol.sh , cutDemo.input 3 awk -F',' '{ print $3 }' < cutDemo.input awk: '{ awk: ^ in