Search Results

Search: Posts Made By: mnmonu
2,563
Posted By balajesuri
sed -i...
sed -i "s:'/data1/test.log':'$ORACLE_HOME/test.log':" file
2,365
Posted By Scrutinizer
Another one: awk 1 RS=\~ infile | awk 'NF{if...
Another one:
awk 1 RS=\~ infile | awk 'NF{if (/name/)print RS;print p;p=$0}END{print p}' | awk '{gsub(ORS,"~");print $0 "~"}' RS=
2,365
Posted By ygemici
try this ;) # cat file1 ...
try this ;)

# cat file1
"0001"~"name"~"bb"~"20.25"~"0010"
~"abc"~"0002"~"name"~"dd"~"35.50"~"25"~
"xxx"~"0003"~"name"~"aa"~"21.3

5"~"0056"~"ijk"~



"0001"~"name"~"bb"~"20.25"~"0010"...
Showing results 1 to 3 of 3

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