Re: carriage return

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

 



On Tue, 31 Oct 2006, Gabriel M. Elder wrote:

I have a text file imported from filemaker pro. When I open it in vi i
see several ^]. Is this some sort of row delimiter?

It's not a carriage return. It is a control character: ctrl-]. Its
numeric value is as follows:
oct     dec     hex     char
===     ===     ===     ====
35      29      1d       ^]

I doubt it's anything that vi is artificially inserting. As for its
specific use and function in the filemaker pro file format, that'd take
some research to determine that.

Is their presence/visibility in your editor problematic for whatever it
is you're trying to do? If so, it wouldn't take much to whip up a short
python script to strip those out...

	Or, from in vim, do a global search and replace.

:g/^]/s///g

(That's the key combination Ctrl-] and not the shift 6 and ] keys)
(Warning: I haven't actually tried this so YMMV)

--
Boring Home Page - http://www.webtrek.com/joe
See my blog, sumo game ranks and other interesting junk

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux