Search Results

Search: Posts Made By: Poki
5,930
Posted By ghostdog74
awk 'NR!~/^(1[0-3]|4[5-7])$/' file
awk 'NR!~/^(1[0-3]|4[5-7])$/' file
5,930
Posted By Scrutinizer
Yes you can, but you need to use double quotes ...
Yes you can, but you need to use double quotes
sed "${firstElem},${lastIndex}d ; ${secondElem},${lastIndex1}d" web.xml > web1.xml
I take it the variables contain numbers or patterns in between...
Showing results 1 to 2 of 2

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