[prev in list] [next in list] [prev in thread] [next in thread]
List: quanta
Subject: Re: [Quanta] Code format
From: Werner Joss <werner () hoernerfranzracing ! de>
Date: 2005-04-03 10:09:15
Message-ID: 200504031209.15832.werner () hoernerfranzracing ! de
[Download RAW message or body]
Am Sonntag 03 April 2005 11:06 schrieb Andras Mantia:
> I *think* the recode utility can do the conversion, but I'm not
> sure. Oh no, it's the "dos2unix" utility. Install it if it's not
> installed on your system. "man dos2unix" to learn how to use it.
>
yes, Andras, recode works, but dos2unix is more convenient,
as it works 'in place', replacing the original file.
attached is a tiny script which does the job recursively.
werner
["doit.sh" (application/x-shellscript)]
#!/bin/bash
files=`find . -type f -name "*.html"`
for file in $files
do
dos2unix $file
done
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic