Reputation
251
Top tag
Next privilege 300 Rep.
Create new tags
Badges
1 10
Impact
~613 people reached

Jan
14
accepted What's the difference between DPkg::post-invoke and DPkg::post-invoke-success?
Dec
20
awarded  Autobiographer
Sep
5
answered full disk encryption (including swap, possibly plausible deniability as well)
Sep
2
answered What's the difference between gunzip and unzip?
Sep
2
asked What's the difference between DPkg::post-invoke and DPkg::post-invoke-success?
Jun
4
comment Printing unique lines
Or even shorter awk '!seen[$0]++', since the {print} is implied by an empty command.
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?