Search Results

Search: Posts Made By: subbukns
3,206
Posted By subbukns
Hi
Hi Jean-Pierre,

why I have asked you only sed command is .... I don't want to use tail command (it's truncating some part of data as it handles in only 20 k buffer). Let me know any other options...
3,206
Posted By subbukns
Hi Jean-Pierre, Thank you very much for your...
Hi Jean-Pierre,

Thank you very much for your quick response.

Is this correct way to copy all the lines of abc.txt, except the first line to xyz.txt using sed command as following....
...
3,206
Posted By subbukns
sed command explanation needed
Hi,

Could you please explain me the below statement -- phrase wise.

sed -e :a -e '$q;N;'$cnt',$D;ba' abc.txt > xyz.txt


if suppose $cnt contains value: 10
it copies last 9 lines of abc.txt...
4,156
Posted By subbukns
Problem with Tail command --urgent pls
eg: If I execute an example tail statement to put rows from one file to another, it truncates some of the data.

/carrier>wc -l IntIndA.txt
1918 IntIndA.txt
/carrier>tail -1918 IntIndA.txt >...
Forum: HP-UX 09-21-2006
10,162
Posted By subbukns
Reg: execution of tail statement in PUTTY
We are using PUTTY to connect to Remote Unix Server. When I run the following shell script statement, I do not get the desired output.
tail -num test.txt > test.out
here "num" is any number for...
Showing results 1 to 5 of 5

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