Search Results

Search: Posts Made By: Klasform
1,771
Posted By Klasform
sed -n -r '/<Member/{N;...
sed -n -r '/<Member/{N; s/<(Member).*(name)="(.*)"\n(.*)="(.*)".*$/\1 \2,\3,\4,\5 /p}'This works fine!

For some reason, I was not able to do it using the [:alpha:] or [[:alpha:]]It seemed to be...
1,771
Posted By Klasform
Using sed (GNU sed) 4.2.2
Using sed (GNU sed) 4.2.2
1,863
Posted By Klasform
I have been trying to solve this through sed. ...
I have been trying to solve this through sed.
inline!
sed -n -e '/\@{sed -e '1p' pattern.txt}/p' content.txtAlso tried curlys with many other combination, just can't get it working.
I Like the...
2,815
Posted By Klasform
sed -e ':L' -e '/\./{p;d;}' -e 's/^ //' -e...
sed -e ':L' -e '/\./{p;d;}' -e 's/^ //' -e 'N;s/\n/ /;bL'

Ah git it!!
2,815
Posted By Klasform
sed -e ':L' -e '/\./{p;d;}' -e 's/^ //' -e...
sed -e ':L' -e '/\./{p;d;}' -e 's/^ //' -e 'N;s/\n/ /;bL'

Will do the trick!

---------- Post updated at 04:46 PM ---------- Previous update was at 04:44 PM ----------

Sorry, new here--
...
Showing results 1 to 5 of 5

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