Search Results

Search: Posts Made By: zen01234
2,167
Posted By Don Cragun
If we take your two commands (modified to create...
If we take your two commands (modified to create file3 instead of append to it):
sed -n '/phone/{s/.*<phone>\(.*\)<\/phone>.*/\1/;p;}' file1 > file2
awk -F '[<>]' '{n = split($3,array," "); print...
Showing results 1 to 1 of 1

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