struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Umberto Nicoletti <unicole...@prometeo.it>
Subject RE: struts-config windows 2 unix?
Date Thu, 29 Aug 2002 08:01:17 GMT
/usr/bin/awk '{gsub(/\r/,""); print $0; }' $0
will dump the file without ^M on stdout. Just pipe it to a file.

HTH,
umberto

On Wed, 2002-08-28 at 22:51, Tero P Paananen wrote:
> > To convert a windows file into a unix format you can use the 
> > "dos2unix" command under unix.
> > It will get rid of all the ^M caracters that you see under vi.
> 
> Use a text editor on Windows that can save in Unix format.
> Practically any advanced text editor can do that. I use
> UltraEdit myself.
> 
> 				-TPP
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
> 
-- 
Umberto Nicoletti
unicoletti@prometeo.it | Tel. +390415701366

"We'll try to make different mistakes this time." - Larry Wall


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message