Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Is there a good way to unify text files something like dos2nix shell script(s) do?

by taint (Chaplain)
on Dec 20, 2013 at 19:04 UTC ( #1067982=note: print w/replies, xml ) Need Help??


in reply to Re: Is there a good way to unify text files something like dos2nix shell script(s) do?
in thread Is there a good way to unify text files something like dos2nix shell script(s) do?

merci! Laurent_R.

I use something similar, myself. But I'm not inclined to make any changes to any of the files, until I've managed to discover their encoding, and then change them (successfully) into utf-8. Otherwise, I often end up with "mojibake" -- Mojibake.

Thanks again, for taking the time to reply, Laurent_R.

--Chris

Yes. What say about me, is true.
  • Comment on Re^2: Is there a good way to unify text files something like dos2nix shell script(s) do?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067982]
help
Chatterbox?
[Corion]: So that could become a fun series of articles that implement this with regular expressions, Parse::Eyapp, Marpa, YACC, Perl6 and Regexp::Grammar and whatnot. If I have a test suite, I could even do benchmarks.
[Corion]: I guess part of the fun will be to add all those optional prepositions etc. to the grammar, whereas that is easy with regular expressions :)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2017-08-17 11:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (286 votes). Check out past polls.

    Notices?