C
Chaos Master
Hello people.
I have a file coming from an UNIX-like system (FreeBSD) - a series of "taglines"
which has this format:
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
foo foo foo bar bar foo bar bar foo bar bar foo bar bar foo bar bar blah blah
blah blah.
%
foo bar foo bar foo bar foo.
%
foooooooooooooooooooooo barrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
tkagiohaohjoahjiha
(The examples are broken with newlines, as they're with newlines when they come
from FreeBSD system).
For a Windows application I need to remove the line breaks and the %.
It will turn into:
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
foo foo foo bar bar foo bar bar foo bar bar foo bar bar foo bar bar blah blah
blah blah.
foo bar foo bar foo bar foo.
foooooooooooooooooooooo barrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
tkagiohaohjoahjiha
(those examples are not to wrap lines. This is intentional. Sorry.)
Under Linux I have the "awk" program which helps me doing that.
Is there any program for Windows to do this massive removal of newline chars
from a file?
Thanks, and sorry for the long post
I have a file coming from an UNIX-like system (FreeBSD) - a series of "taglines"
which has this format:
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
foo foo foo bar bar foo bar bar foo bar bar foo bar bar foo bar bar blah blah
blah blah.
%
foo bar foo bar foo bar foo.
%
foooooooooooooooooooooo barrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
tkagiohaohjoahjiha
(The examples are broken with newlines, as they're with newlines when they come
from FreeBSD system).
For a Windows application I need to remove the line breaks and the %.
It will turn into:
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
foo foo foo bar bar foo bar bar foo bar bar foo bar bar foo bar bar blah blah
blah blah.
foo bar foo bar foo bar foo.
foooooooooooooooooooooo barrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
tkagiohaohjoahjiha
(those examples are not to wrap lines. This is intentional. Sorry.)
Under Linux I have the "awk" program which helps me doing that.
Is there any program for Windows to do this massive removal of newline chars
from a file?
Thanks, and sorry for the long post