Skip to content
Archive of posts tagged programming

Linux find command – Find file and directories faster and easier

  This command is very powerfull when used with combination of filters and pipes and RE. I will give some example: find . -type f –>> List all files find . -type f -exec rm {} \\\; –>> Delete all files find . -type d -exec rm {} \\; –>> Will through some common errors [...]

eclim for Fedora – Leonidas – installation.

Here is the installation instruction for Eclim for vim. I have not tried it as I did not require it, but if you need it. http://downloads.sourceforge.net/project/eclim/eclim/1.4.8/eclim_1.4.8.tar.gz?use_mirror=biznetnetworks sudo ant -Declipse.home=/usr/lib/eclipse -Dvim.files=/home/amitag/.vim -Dplugins=cdt create ctgs using ctags -R /usr/include/ Related articles by Zemanta VIM Crash Course (spf13.com) SourceForge bars 5 nations from open source downloads (go.theregister.com) My [...]

Splitting strings with IFS

Today I want to discuss splitting strings into tokens or “words”. I previously discussed how to do this with the IFS variable and promised a more in depth discussion. Today, I will make the case on WHY to use IFS to split strings as opposed to using a subshell combined with awk or cut. I [...]