Re: carriage return

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

 



Gabriel M. Elder wrote:
> On Tue, 2006-10-31 at 14:16 -0600, sharif islam wrote:
>> Hi,
>> 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...

Why use a python script when the "tr" command will do it in one byte?


-- 
over in west Philadelphia a puppy is vomiting ...


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux