Search Results

Search: Posts Made By: Celvin VK
2,275
Posted By Scrutinizer
awk '/^\+-/{$0=p; f=1}{p=$0}f' file
awk '/^\+-/{$0=p; f=1}{p=$0}f' file
8,313
Posted By vidyadhar85
few more ways!!! fnsonlu1-/home/fnsonlu1>...
few more ways!!!
fnsonlu1-/home/fnsonlu1> printf "Y"`cat vv`"\n"
Y2009
fnsonlu1-/home/fnsonlu1> sed 's/\(.*\)/Y\1/g' vv
Y2009
fnsonlu1-/home/fnsonlu1> awk '{print "Y"$0}' vv
Y2009
3,069
Posted By Scott
Hi. $ sed 's/|[0-9]*$/|"Done"&/' file1 ...
Hi.


$ sed 's/|[0-9]*$/|"Done"&/' file1
"PDA"|"Celvin"|"PRJ_NA"|"Completion_Units"|"Done"|25
"PDA"|"Celvin"|"PRJ_AB"|"Completion_Units"|"Done"|250
1,757
Posted By Scrutinizer
Try: sed -n '1!G;h;$p' login.txt | sort -uk9,9 ...
Try:
sed -n '1!G;h;$p' login.txt | sort -uk9,9
or
tac login.txt | sort -uk9,9
Showing results 1 to 4 of 4

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