1974 shaares
6 private links
6 private links
6 results
tagged
regexp
sed '/test/{/error|critical|warning/d}' somefile
command !(regexp to remove from matching)
Note: This is a feature of bash, and it only works if you've enabled 'extglob' (Extended Pattern Matching):
shopt -s extglob
colout is a simple command to add colors to a text stream in your terminal.