204 reputation
19
bio website
location
age
visits member for 2 years, 4 months
seen Nov 13 at 17:08

Oct
27
awarded  Scholar
Oct
27
comment How can I remove lines matching foo but not matching bar?
Accepting this one, because I like the diversity of answers. I will probably use one of the sed answers in practice, because sed allows in-place modifiaction of files, which is what I need (but did not specify in the question).
Oct
27
accepted How can I remove lines matching foo but not matching bar?
Oct
27
comment How can I remove lines matching foo but not matching bar?
No, other "quick and dirty" tools are fine as well, it was just that sed looked like the most straightforward at first. Actually Stéphane's answer showed that lots of other tools works just as well.
Oct
27
revised How can I remove lines matching foo but not matching bar?
clarified that I want to filter for foo and bar
Oct
27
awarded  Yearling
Oct
27
awarded  Self-Learner
Oct
27
awarded  Student
Oct
27
asked How can I remove lines matching foo but not matching bar?
Oct
27
answered How can I remove lines matching foo but not matching bar?
Dec
10
comment Byobu with tmux, how to use F-Keys
Can it be that you misread the linked page on askubuntu? You write you tried Shift-F2, but it should have been (and works for me) Shift-F12.
Sep
4
awarded  Organizer
Sep
4
revised Copy and set-mark in Bash as in Emacs?
Tag /inputrc added
Sep
4
suggested approved edit on Copy and set-mark in Bash as in Emacs?
Aug
29
answered Quickly calculate date differences
Jul
22
revised GNU Screen: new window name change
Edited the TERM pattern matching to also match other names given by e.g. byobu
Jul
22
suggested approved edit on GNU Screen: new window name change
Jul
22
awarded  Supporter
Jul
9
awarded  Tag Editor
Jul
9
revised shell wiki description
Fixed fish shell weblink