Search Results

Search: Posts Made By: Scrutinizer
6,669
Posted By Scrutinizer
You are welcome Cacializ. GNU sed -i has a backup...
You are welcome Cacializ. GNU sed -i has a backup option:
-i[SUFFIX], --in-place[=SUFFIX]
The BSD sed man page says you should always use it. Anyway in general it is always a good idea to have...
6,669
Posted By Scrutinizer
Hi, with sed you can try: sed...
Hi, with sed you can try:
sed 's|<td>\([0-9]\{1,\}\)</td>|<td><button onclick="reset(\1)">Reset</button>\1</td>|' file
You can add the leading tabs if you need them, but in the sample there were...
Showing results 1 to 2 of 2

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