Search Results

Search: Posts Made By: Sandeep_sandy
Forum: Red Hat 06-04-2015
3,668
Posted By Don Cragun
You mean something like: awk '($0 ~...
You mean something like:
awk '($0 ~ /^1234/){S=$0;getline;print S $0;S="";next} 1' test199 > x$$ && cp x$$ test199; rm -f x$$
Forum: Red Hat 06-04-2015
3,668
Posted By RavinderSingh13
Hello Sandeep_sandy, Welcome to forum,...
Hello Sandeep_sandy,

Welcome to forum, kindly use code tags for commands/codes/Inputs you are using in your posts, following may help you in same.
Let's say we have following input file then:
...
Showing results 1 to 2 of 2

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