Re: Perl one-liner to print columns

2005-04-25 Thread Jay Savage
On 4/25/05, Jay Savage <[EMAIL PROTECTED]> wrote: > On 4/25/05, Larsen, Errin M HMMA/IT <[EMAIL PROTECTED]> wrote: > > Hi Perlers, > > > > I typically will type the following to collect a specific column of > > data from some command's output: > > > > # some_command | awk '{print $4}' > > > >

Re: Perl one-liner to print columns

2005-04-25 Thread Jay Savage
On 4/25/05, Larsen, Errin M HMMA/IT <[EMAIL PROTECTED]> wrote: > Hi Perlers, > > I typically will type the following to collect a specific column of > data from some command's output: > > # some_command | awk '{print $4}' > > I wanted to start using perl one-liners more often, so I thought

Perl one-liner to print columns

2005-04-25 Thread Larsen, Errin M HMMA/IT
Hi Perlers, I typically will type the following to collect a specific column of data from some command's output: # some_command | awk '{print $4}' I wanted to start using perl one-liners more often, so I thought I'd try the column thing first. This is what I came up with: # some_comma