Thread: Shell Scripting
how replace alt+enter within text file .
sample input book2.txt below..
1212||sdfsdfsdf fgkdjfkgljlsdfg||sdfsdf
4454||"sadfsdfg
sdfgsdfg
sdf"||sdfgdfg
4454||ds gkdkjfhgskjfsdhkjg||sdfsdf
in above data, each line start number. , "||" delimited, 3rd record broken 3 lines due alt+enter.
sed cntrl+j not helped
regards
rohit
replace what?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [other] Shell Scripting
Ubuntu
Comments
Post a Comment