Timeline for How can I remove all text after a character in bash?
Current License: CC BY-SA 2.5
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 29, 2016 at 16:16 | comment | added | cdhowie |
egrep is grep with -E . It makes no difference here from regular grep . -o instructs grep to print out only the part of the line that matches the expression. ^ anchors the match to the start of a line. [^:]* matches zero or more characters that are not the : character. : matches the character : .
|
|
Dec 28, 2016 at 6:46 | comment | added | Raja G | can you explain how to interpret this , Thank you. | |
Jul 10, 2012 at 20:33 | review | Low quality answers | |||
Aug 18, 2012 at 8:25 | |||||
Nov 12, 2010 at 19:35 | history | answered | cdhowie | CC BY-SA 2.5 |