N
NNTP
I am writting a script that does some analysis of a log file and here
is what I need.
I need to take the first variable of the line, cut it and paste it to
the end of the line.
example:
input : accept blah blah blahc blah data data data
output : blah blah blahc blah data data data accept
no. of variables very and thats why I can't use a simple script like
the following.
cat file | awk '{print $2,$3,$4,$5,$6,$7,$8,$1}'
any ideas?
is what I need.
I need to take the first variable of the line, cut it and paste it to
the end of the line.
example:
input : accept blah blah blahc blah data data data
output : blah blah blahc blah data data data accept
no. of variables very and thats why I can't use a simple script like
the following.
cat file | awk '{print $2,$3,$4,$5,$6,$7,$8,$1}'
any ideas?