Search/replace groups using sed
This is the most common way of my sed usage:
echo Good morning | sed 's/\(.*\s\+\).*/\1evening/g'
Here are brief notes on that ..
This is the most common way of my sed usage:
echo Good morning | sed 's/\(.*\s\+\).*/\1evening/g'
Here are brief notes on that ..
sed stands for stream editor.
This is the most common way of my sed usage:
echo [SOMETHING] | sed 's/old/NEW/g'