You are not logged in.

#1 2006-05-18 05:40:43

vladuz976
Member
From: Venice, CA
Registered: 2005-11-04
Posts: 108

sed searching ASCII patterns

i have this file in ASCII it has stuff like "mass unit <80>u" and "nucleus ^G±^G²^H" or "^TN^Tu^Tc^Tl^Te^To^Tn^Ts "
                   mostly when i look at it in print this appears around bold
                   face, italics and some math equations. I am trying to at
                   least filter out all the bold and italic stuff so i can
                   easly copy and paste the plain text and produce a latex
                   file, i know that sed has a pattern matching for ASCII
                   characters by deciaml hex and octal value. how do i know
                   what these represent?

Offline

#2 2006-05-24 20:30:45

user
Member
Registered: 2006-03-29
Posts: 465

Re: sed searching ASCII patterns

Better to use "perl", i heard so


I removed my sig, cause i select the flag, the flag often the target of enemy.

SAR brain-tumor
[img]http://img91.imageshack.us/img91/460/cellphonethumb0ff.jpg[/img]

Offline

Board footer

Powered by FluxBB