"Norbert Nemec" <norb...@nemec-online.de> wrote in message news:i3lq17$99...@digitalmars.com... >I usually do the same thing with a shell pipe > expand | sed 's/ *$//;s/\r$//;s/\r/\n/' >
Filed under "Why I don't like regex for non-trivial things" ;)
"Norbert Nemec" <norb...@nemec-online.de> wrote in message news:i3lq17$99...@digitalmars.com... >I usually do the same thing with a shell pipe > expand | sed 's/ *$//;s/\r$//;s/\r/\n/' >
Filed under "Why I don't like regex for non-trivial things" ;)