Mailing List Archive


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

Re: [tlug] When is a line feed really a line feed?



Dave M G <dave@example.com> wrote:

> But the thing with Gedit is that they [line break characters] 
> all render invisibly, so it's hard for me to tell what form my 
> line breaks are being saved as. 

Look with od or xxd. For example: 

[jep@example.com hp]$ ls / | xxd -g 1 -u
0000000: 62 69 6E 0A 62 6F 6F 74 0A 64 65 76 0A 65 74 63  bin.boot.dev.etc
0000010: 0A 66 6F 6F 0A 68 6F 6D 65 0A 6C 69 62 0A 6C 6F  .foo.home.lib.lo
0000020: 73 74 2B 66 6F 75 6E 64 0A 6D 65 64 69 61 0A 6D  st+found.media.m
0000030: 69 73 63 0A 6D 6E 74 0A 6E 65 74 0A 6F 70 74 0A  isc.mnt.net.opt.
0000040: 70 72 6F 63 0A 72 6F 6F 74 0A 73 62 69 6E 0A 73  proc.root.sbin.s
0000050: 65 6C 69 6E 75 78 0A 73 72 76 0A 73 79 73 0A 74  elinux.srv.sys.t
0000060: 6D 70 0A 75 73 72 0A 76 61 72 0A                 mp.usr.var.
[jep@example.com hp]$ 



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links