Search Results

Search: Posts Made By: MadeInGermany
3,745
Posted By MadeInGermany
Or sed -n 's/.*LoadId(\([^)]*\)).*/\1/p' file
Or
sed -n 's/.*LoadId(\([^)]*\)).*/\1/p' file
3,745
Posted By MadeInGermany
A short sed (but maybe slower if there are many...
A short sed (but maybe slower if there are many lines without LoadId)
sed -n 's/.*\(LoadId([^)]*)\).*/\1/p' file
The /p modifier prints if a substitution was done.
Showing results 1 to 2 of 2

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