Tour
About Us
Meta
Loading…
current community
Stack Exchange
chat
Meta Stack Exchange
your communities
Sign up
or
log in
to customize your list.
more stack exchange communities
company blog
Log in
Stack Exchange
All Sites
Top Users
Digests
potong
top
accounts
reputation
activity
subscriptions
Top Questions
11
votes
Non-greedy Pattern Expression
regex
sed
asked Oct 23, 2011 at 22:17
stackoverflow.com
5
votes
Run MacOS sed on Linux 64 using nix-shell or nix shell
linux
macos
sed
nix
nixos
asked Nov 6, 2021 at 12:03
stackoverflow.com
Top Answers
124
sed delete lines not containing specific string
stackoverflow.com
60
Return value of sed for no match
stackoverflow.com
57
grep: group capturing
stackoverflow.com
57
find matching text and replace next line
stackoverflow.com
47
Way to output differences between two files (preferably using command line)
stackoverflow.com
42
How do I get bc(1) to print the leading zero?
stackoverflow.com
36
sed replace string in a first line
stackoverflow.com
32
How to cut a string after a specific character in unix
stackoverflow.com
30
How to add a # before any line containing a matching pattern in BASH?
stackoverflow.com
28
sed: joining lines depending on the second one
stackoverflow.com
27
using sed to insert file content into a file BEFORE a pattern
stackoverflow.com
27
How to use variables in a command in sed?
stackoverflow.com
26
Sorting unique by column - sort command?
stackoverflow.com
26
SED: multiple patterns on the same line, how to match/parse first one
stackoverflow.com
25
delete a column with awk or sed
stackoverflow.com
22
sed: conditional merge of multiple lines
stackoverflow.com
22
Concatenating every other line with the next
stackoverflow.com
21
Replacing a string in nth line a file
stackoverflow.com
20
How to select lines between two marker patterns which may occur multiple times with awk/sed
stackoverflow.com
19
How to use a variable's value as another variable's name in bash
stackoverflow.com
19
Replace every n'th occurrence in huge line in a loop
stackoverflow.com
19
How to remove all of the diacritics from a file?
stackoverflow.com
19
Move lines matching a pattern from one file to another
stackoverflow.com
18
Convert specified column in a multi-line string into single comma-separated line
stackoverflow.com
18
How to use SED without a file with an env var?
stackoverflow.com
18
How to make sed remove lines not matched by a substitution
stackoverflow.com
17
removing lines between two patterns (not inclusive) with sed
stackoverflow.com
16
sed search and replace strings containing /
stackoverflow.com
16
Rename files to md5 sum + extension (BASH)
stackoverflow.com
15
Extra space in awk output
stackoverflow.com
1
2
3
4
5
next
Stack Exchange works best with JavaScript enabled