Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #13575

We NEED this function.

From no.top.post@gmail.com
Newsgroups comp.os.linux.misc, alt.os.linux.slackware, alt.os.linux.debian
Subject We NEED this function.
Date 2015-02-03 17:34 +0000
Organization A noiseless patient Spider
Message-ID <mar0ru$hak$1@dont-email.me> (permalink)

Cross-posted to 3 groups.

Show all headers | View raw


That I can't know how this paste looks on your screen, is further proof
of the need for such a non-ASCII-cleaner and general purpose string-translator,
even replacing eg. `fromdos`.
--

-> echo " isnAÄt al" |hexdump -C ==
00000000  20 69 73 6e c2 80 74 20  61 6c 0a                 | isnAÄ.t al.|

The 2-byte:c2 80; which should be a <single quote> is probably generated by
M$, although a competent emacs user posts similar <errors> *here*.
--
`tr` could be extended to do: 
tR LenStr1 LenStr2 ByteString1 ByteString2
--
So to clean the above-example-text-file, use:
   tR 2 1 c2 80 27

PS. this same problem came up in my recent query re. how to fix:
mimed lin=
es which

Apart from finding the customised tool, the best solution offered
involved using awk!!

Back to comp.os.linux.misc | Previous | NextNext in thread | Find similar | Unroll thread


Thread

We NEED this function. no.top.post@gmail.com - 2015-02-03 17:34 +0000
  Re: We NEED this function. Rich <rich@example.invalid> - 2015-02-03 18:17 +0000
    Re: We NEED this function. Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2015-02-03 13:48 -0800
    Re: We NEED this function. Unknown <dog@gmail.com> - 2015-02-09 11:43 +0000

csiph-web