Search Results

Search: Posts Made By: mooey1232003
2,449
Posted By ctsgnb
sed '/-/d;/rtrim/d;s/^ *//' yourfile
sed '/-/d;/rtrim/d;s/^ *//' yourfile
2,449
Posted By ctsgnb
sed '/-/d;/rtrim/d' yourfile
sed '/-/d;/rtrim/d' yourfile
2,449
Posted By ctsgnb
another one sed '/-/d' yourfile ----------...
another one
sed '/-/d' yourfile

---------- Post updated at 10:28 AM ---------- Previous update was at 10:26 AM ----------

If you just want remove line 2 and 3 :

sed '2,3d' yourfile
2,449
Posted By ahamed101
Won't this work? sed 's/-//g' file ...
Won't this work?


sed 's/-//g' file
regards,
Ahamed

---------- Post updated at 12:20 AM ---------- Previous update was at 12:17 AM ----------

To remove the blank lines also


sed...
Showing results 1 to 4 of 4

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