Search Results

Search: Posts Made By: uxuser
Forum: Programming 11-16-2008
9,676
Posted By uxuser
A big thank you for your reply - I'm really...
A big thank you for your reply - I'm really stuck.
So there is no error message at all:
if there a 5 lines in a textfile for example, it keeps printing out:
6:
7:
8:
...

and so on. So the...
Forum: Programming 11-11-2008
9,676
Posted By uxuser
EOF not found
Hello,

I"m using the following c++ program on a Linux Redhat System, where it works fine.
But as soon as I move on a SunOS there will be no end of reading?


#include <fstream>
#include...
5,639
Posted By uxuser
AWK Pipe (truncate last few lines from file)
Hello,

does anybody have a clue why the following code isn't working in csh:

awk 'END{print FNR-5}' x.log | awk 'FNR<$1' x.log > x2.log



I want to remove the last 5 lines of a file...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy