Sticky: Random Linux Tips

####[ One Stanza Tip () ]###########################

Sub : DOS to Unix conversion (#6) LOST #218

If you have vim editor installed, the following script will do
a DOS to Unix conversion:
#!/bin/sh # Save d2u, chmod +x d2u
vim -c “:set ff=unix” -c “:wq” $1 # Usage: d2u filename.txt

####[binand (at) cysphere.com]################################

This entry was posted in General and tagged , , , . Bookmark the permalink.