scripting
Get count of lines in scripts (shell)
2015/10/15
If you have tried to get the count of lines in file, the you would know about “nl” or “wc -l”. But as you are aware these give you number of lines with other details as well and you need to post …
Filename handling with space and newline character.
2010/05/25
<a target="_blank" href="http://www.andreaplanet.com/andreamosaic/download/"> <a …
The power of find command in Linux – advanced.
2010/05/24
Generally whoever uses Linux, would know about the find command. Find the man page <a href="http://amit.themafia.info/phpMan.php?parameter=find&mode=man" …
parse and paste text
0001/01/01
Lot of times, I copy the text but before pasting want to remove a word or make some other changes or add “wget” to the URL, quite common. So, I came up with this alias replace='echo $(xclip -i)|sed …