Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in sed

Unix Shell scripting find and replace string in specific files in subfolders

sed

Minify HTML files in text/html templates

How to find and replace every match except the first using sed?

sed

bash command to sum and print each element of a column and print a new column

bash sed awk bc

Consistency in global operations in vim

vim sed

How to remove square brackets and any text inside?

bash sed

How can I take STDIN and use it on the bash shell to set an environment variable?

bash path sed xargs env

Is there way to delete duplicate header in a file in Unix?

detect two consecutive lines matching a pattern with sed

sed

How to quickly delete the lines in a file that contain items from a list in another file in BASH?

bash optimization sed

Delete duplicate consecutive lines without sort or unique in xml file

regex xml bash awk sed

Quick Unix command to print non-contiguous lines from a text file?

shell unix text sed

sed substitute variable contains newline (preserve it)

sed

How do you remove all the lines between two html tags using sed (or similar)?

regex bash sed

process a text file using various delimiters

python awk sed grep

Remove strings by a specific delimiter

linux bash awk sed

Replace first few lines with first few lines from other file

linux sed

tr -d to remove an exact string of characters from a string

bash unix awk sed tr

How can I print 2 lines if the second line contains the same match as the first line?

regex bash awk sed grep

How to delete rows from a csv file based on a list values from another file?

bash csv awk sed grep