Friday, 15 April 2011

Using the csh tail by exception -



Using the csh tail by exception -

please can help me, trying strip info end of file, file.oot.

i utilize tail command, returning except lastly n lines. limit single line command part of csh script. there way tail command, if not there option?

command homecoming opposite of:

tail -10 file.oot > new_file.oot

thanks

it appears approaching wrong direction (literally) , should using head. using next code achieves goal.

head -n -10 file.oot > new_file.oot

csh tail

No comments:

Post a Comment