sed

Check all vim colorschemes for minor issues

2013/10/10

Here is script that checks all the colorschemes in the current directory and corrects them if possible (Processing of the file is done with simple commands like sed, grep) Checks that the color_name …

Compare files excluding certain lines.

2011/10/18

Quick tip, you can use any expression for the sed commands in the (). With this trick you can redirect the stdout of 2 commands to the diff command. This might become very useful, if you want to …

Cont: Get yourself some more conkyrc files.

2011/10/12

Last time we got ourselves some conkyrc files from the ubuntu forums. But that scripts gets the files only from the First page of the thread. Lets extend this further and get the script to get all the …

Script to get yourself some conkyrc files

2011/10/08

Continuing from where we left, here is a script that can do all this for you 🙂 curl http://ubuntuforums.org/showthread.php?t=281865\&page=$i | sed -n '/\\/pr/ p'| sed '// d'| sed …

Get yourself some conkyrc files.

2011/10/05

If you are looking for some nice conkyrc files, then you can head over to : Ubuntu Forums In this thread you can see some very nice conkyrc files with screenshots. You can browse through the thread …

Handy one-liners for SED

2010/09/14

Here are some links to sed one liners, pretty useful if you want to use the power of sed. <a …

bash one liner to change/remove test pattern from config file or text file.

2010/06/25

Problem: I had a directory with a lot of config files in the ini file format, i.e. name and value separated by equals. Some/all of these contained some directory names and other values which had to be …

find duplicate entry in a list in bash with sed

2010/06/25

Here I will take an example of rss2email list, but I guess I will be able to pass on the concept. Here is example of the output of the r2e list command: […] 1: …

remove/replace text/path in config file.

2010/06/25

Lot of times I end up changing a particular text in config file to some other text. And when I have to do it for multiple files, all files having the text in multiple places, I end up opening the …

regular expression, sed and grep tuturials and tricks.

2010/06/17

Simply a great one page article on sed and use of regular expressions. <a href="http://almirkaric.com/2009/07/15/sed-and-grep-tips/" …

Deleting lines from the text file

2010/06/01

Really useful for pretty big <a class="zem_slink freebase/en/computer_file" title="Computer file" rel="wikipedia" …

vim – get the list of all the scripts available.

2010/05/27

To get a list of all the scripts in the vim.sf.net project, you can run the following command. This will list all the scripts with the script id. […] wget -O – …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it