Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] weird file format




>>>>> On Thu, 27 Mar 2003, "Brett" == Brett Robson wrote:

  Brett> carriage return (hex 0d), no line feed. This stuff has come
  Brett> from a Web "Design" company, is that perhaps the Mac file
  Brett> format?

Yes, that's a Mac format.

  Brett> sed won't pick up CRs, can someone suggest a way of turning
  Brett> these long haired hippy files into good old unix format?

tr {\015} {\012} < file


Regards,
Dmytro.


-- 
 Dmytro Koval'ov   
 http://www.asahi-net.or.jp/~as9d-kvlv, http://yarylo.sytes.net
 GPG keyID 215DDFF7: 
 gpg --keyserver pgp.mit.edu --recv-keys 215DDFF7 




Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links