Bash-sed-examples
Jump to navigation
Jump to search
Examples of using sed for different jobs
- Remove all of a string until first match
echo "1=2=3" | sed 's/[^=]*=//' 2=3
Examples of using sed for different jobs
echo "1=2=3" | sed 's/[^=]*=//' 2=3