Archive for the 'Bash Scripting' Category

Problems with vi, vim and the paste command

Have you ever tried to cut and paste text into vi or vim through a terminal, only to find the formatting completely screwed up? Yeah, me too…  I finally came across an answer to this pesky problem and it’s so simple, I’m surprised it wasn’t easier to find. The next time you want to paste [...]

Filed in Bash Scripting, Technology No Responses yet

Quick NIS passwd to LDAP script

I found this awk script while browsing around on the web. I was looking for a simple way to migrate an NIS+ passwd file to LDAP config and this is what I found. Unfortunately, when I went to cut and paste it into a script on my server, I realized it had a bunch of [...]

Filed in Bash Scripting, Technology One Response so far