Search Results

Search: Posts Made By: painless
2,888
Posted By painless
I know that [ expression ] in regexp means that:...
I know that [ expression ] in regexp means that: match the expression .
And the ^ in expression means "not include".

My question is:
1. If Metacharacter appears within [ expression ] , which...
1,319
Posted By painless
if there are only these 3 columns of values:...
if there are only these 3 columns of values: 2MTEMP, MSLP, 2MDEM, try these:

list="2MTEMP
2012071512
73.28
2MTEMP
2012071513
75.65
MSLP
2012071512
1014.60
MSLP
2012071513
1015.11
2MDEW...
2,888
Posted By painless
Would you please explain more about this? I have...
Would you please explain more about this? I have added some blank for read convenience.


sed 's / \[ [^]] * \] //1 '


---------- Post updated at 02:31 AM ---------- Previous update...
2,888
Posted By painless
use sed: sed 's/\[.*\]//' filename
use sed:
sed 's/\[.*\]//' filename
Showing results 1 to 4 of 4

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