[CentOS] script question
nate
centos at linuxpowered.netWed Oct 15 16:04:28 UTC 2008
- Previous message: [CentOS] script question
- Next message: [CentOS] firefox is incredibly unstable
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jerry Geis wrote:
> Hi all,
>
> I am trying to create a script that takes an entire file,
> drops the first 19 characters from each line and creates a new file.
[..]
> test.txt is below
> 10-Oct-08 08:14 am 10
If this is the format of your data you could use awk to do the same
thing
cat filename | awk '{print $4}'
nate
- Previous message: [CentOS] script question
- Next message: [CentOS] firefox is incredibly unstable
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list