Rakesh Sharma's user avatar
Rakesh Sharma's user avatar
Rakesh Sharma's user avatar
Rakesh Sharma
Unregistered
  • Member for 5 years, 9 months
  • Last seen more than 4 years ago
10 votes

Print lines between start & end pattern, but if end pattern does not exist, don't print

6 votes

How to skip replacing first occurrence of a character in each line?

5 votes

Expand glob with flag inserted before each filename

3 votes

Delete n lines after pattern and m lines before pattern

3 votes

How to select certain lines (n, n+4, n+8, n+12...) from the file?

3 votes

How to not display a column that has all NULL values in a file

2 votes

split string to two parts using sed or awk or perl or bash

2 votes

Print the lines that only with all consecutive repeated characters

2 votes
Accepted

How to delete the first value and trailing comma from the 7th column in a csv file

2 votes

Find the largest positive number in my given data?

2 votes
Accepted

Repeat print of a pattern repeated n times in one line with sed

2 votes

BUILD LOGIC - what could be better than using AWK?

2 votes

How can i terminate 'find' after the first match?

2 votes

Unintended line breaks in csv file

2 votes

Copy previous line to current line from text file

2 votes

How to restrict awk number of fields?

1 vote

Comparing two files and print empty line for unmatched?

1 vote

Bash - pair each line of file

1 vote

Grepping string, but include all non-blank lines following each grep match

1 vote

Can I grep/awk/sed a line for multiple matches in a single line and get the info after it?

1 vote

Move few lines after a pattern match to another position (just before another match) in shell

1 vote

Swap a line with another

1 vote

Move files into separate directories based on grouping defined in a CSV file

1 vote

Replace text using sed and also add single quote to it

1 vote

Extract every 2 lines from a 40 lines file and create a new file

1 vote

Switch characters in a string using sed

1 vote

How to replace new line \n and upcoming + sign with space

1 vote

awk/sed/perl one liner to edit json file

1 vote
Accepted

Search and replace using a custom utility

1 vote
Accepted

Select lines based on lines above them