Created
August 1, 2017 07:52
-
-
Save tamirko/6f1f4993a539efddcfa29dddadc46af9 to your computer and use it in GitHub Desktop.
group groups grouping regular expressions regex regexp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# group groups grouping regular expressions regex regexp | |
sed -e "s+\(.*\)\(, .*$\)+\1+g" | |
export x="00:00:52.76, start" | |
export y=`echo $x | sed -e "s+\(.*\)\(, .*$\)+\1+g"` | |
echo -${y}- | |
# Output : | |
#-00:00:52.76- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment