Search Results

Search: Posts Made By: teefa14
2,657
Posted By teefa14
What I've used but not working fine cat...
What I've used but not working fine


cat source | awk 'BEGIN {line=""} {if( $0 ~ /<\/alarmsend>/ ){line=line""$0;print line ;line =""} else {line=line""$0"@@"}}' | grep <type>5</type>| sed -e...
2,657
Posted By teefa14
Changing array of data by sed
Hi all,
Hope you are fine all

I want to change a certain field in specific array for example I got a file like below:

<alarmsend>yes</alarmsend>
<server>Hajk</server>
<type>5</type>...
Showing results 1 to 2 of 2

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