Hello friends,
Thanks for your reply.
I tried for dos2uix folder/*.* > text, 2>/dev/null, but none of them worked
Actually it's not error. I need to avoid output like.
dos2unix: converting file hosting-network-and-datacenter.html to UNIX format ...
My code is given below
Quote:
function file_mod()
{
echo "Removing Blank Spaces.."
dos2unix $1>/dev/null
sed -i '/^$/d' $1
}
|