|
|
|
|
|
by pavon
1596 days ago
|
|
Learning about -o has decreased my use of sed considerably. Where I used to use: sed -n 's/.*\(pattern\).*/\1/p'
it can instead simply be: grep -o 'pattern'
The -w flag is new to me today - excited to save still more keystrokes! |
|