user avatar
user avatar
user avatar
guest_7
  • Member for 1 year, 7 months
  • Last seen this week
11 votes
Accepted

List only sub-directories containing two specific files

9 votes

Uppercasing first letter of a line after period in previous line

8 votes

How to get contents between two strings using same number of repeated characters?

8 votes

How can I remove lines from my file according to a threshold in Unix?

7 votes

AWK: how can I remove repeated header lines from CSV?

7 votes

remove trailing spaces from text files ONLY when necessary

6 votes
Accepted

Count and return how many replacements were done with sed in a file

6 votes

How to put text inside text automatically?

6 votes

Is there a way to do multiple replacements with sed, without chaining the replacements?

6 votes

How to remove leading spaces in multiple lines based on indent in first line?

6 votes

How to filter lines in two files where the value in a specific column has the same sign (- or +)?

4 votes

Find files with matched whole lines from a file

4 votes

How can I edit and combine multiple matching files with one loop?

4 votes

modify lines when find specified string

4 votes

Remove duplicated lines containing specific text

4 votes

How to insert a line between consecutive duplicate lines?

4 votes

How to match a literal string containing an unclosed quote with ripgrep?

4 votes

AWK CUDA version command syntax error when starts from Makefile

4 votes

Breaking a single line to multiple lines using a timestamp in Unix

4 votes
Accepted

How to select only info start with pattern in a column and print in another one

4 votes

Changing a string of blanks to a string of 0s in a specific column range in a data file

4 votes

How to print two consecutive lines separated by one blank line into one line separated by "," (comma)

4 votes
Accepted

Sed + regex is not matching and replacing occurence

3 votes
Accepted

Replace the whole line with the previous line's data (whatever it is) if pattern matches

3 votes

How can I transliterate some characters 1-to-1, leave some unchanged, and replace others with the same target character?

3 votes

Combine records containing duplicate fields with (G)AWK

3 votes

Combine words on separate lines in one line

3 votes
Accepted

Recursive grep matching only specific line number

3 votes

remove everything before a character in a column

3 votes

How to swap odd and even words in each line?

1
2 3 4 5
15