Skip to main content
Share Your Experience: Take the 2024 Developer Survey
annahri's user avatar
annahri's user avatar
annahri's user avatar
annahri
  • Member for 6 years, 9 months
  • Last seen this week
23 votes
2 answers
11k views

How does ` ... | awk '$1=$1'` remove extra spaces?

15 votes
6 answers
6k views

Ways to append text to a file [closed]

7 votes
1 answer
7k views

Why this positive lookahead regex 'string.*?(?= )' doesn't work in sed? [duplicate]

7 votes
1 answer
3k views

Bash's Process Substitution "<(command)" equivalent in fish shell

4 votes
1 answer
1k views

Why does "awk ... file | tee file" truncate the file? [duplicate]

4 votes
8 answers
1k views

Find files with matched whole lines from a file

3 votes
2 answers
333 views

Squash file with key-value records to CSV [duplicate]

2 votes
2 answers
3k views

How to ssh and run multiple commands wrapped in if else?

2 votes
1 answer
897 views

Systemd won't respawn processes

1 vote
1 answer
2k views

Skip the first line in AWK while setting RS in BEGIN block

1 vote
0 answers
30 views

What does `:` command actually do? [duplicate]

1 vote
1 answer
619 views

Script executed by logrotate gives different result than by executing it manually

1 vote
1 answer
4k views

Regex matching multi line search

0 votes
3 answers
87 views

Remove duplicate strings in specific line

0 votes
1 answer
479 views

Redirect stderr to file and prepend every lines with a string

0 votes
3 answers
78 views

This sed syntax won't remove blank lines

0 votes
1 answer
384 views

GNU coreutils `sort` behave differently

0 votes
1 answer
5k views

Unable to connect to Wi-Fi using NetworkManager (reason 'no-secrets) in Debian 9

0 votes
1 answer
751 views

How to append to the end of each line?

0 votes
1 answer
101 views

Bash mapfile array count different