Search Results

Search: Posts Made By: dollylamb
38,682
Posted By dollylamb
I really appreciated for your help dennis. But...
I really appreciated for your help dennis. But the Franklin's command works very well in my situation. Maybe i'll need your helps for my future's troubles, but i owed you this time :)
38,682
Posted By dollylamb
many thanks Franklin! Your awk command...
many thanks Franklin!

Your awk command doesn't replace the content between the tags, but it deletes them. Now, i can use sed command to add new content as expect. Thanks again for your help.
38,682
Posted By dollylamb
Replace multiple lines between tags using sed
I have a file example.txt with content look like this:

<TAG>
1
2
3
</TAG>
and I use a sed command to replace everything between <TAG></TAG> as below:


sed -e...
Showing results 1 to 3 of 3

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