Bash-sed-examples: Difference between revisions

From I Will Fear No Evil
Jump to navigation Jump to search
(Created page with "Examples of using sed for different jobs * Remove all of a string until first match <pre> echo "1=2=3" | sed 's/[^=]*=//' 2=3 </pre> [https://unix.stackexchange.com/questions...")
(No difference)

Revision as of 17:56, 3 December 2021

Examples of using sed for different jobs

  • Remove all of a string until first match
echo "1=2=3" | sed 's/[^=]*=//'
2=3

Stackexchange Details