Re: Getting a text file rid of all superfluous blank lines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2005-12-03 at 17:54 +0000, Paul Smith wrote:
> On 12/2/05, Mike McCarty <mike.mccarty@xxxxxxxxxxxxx> wrote:
> > I sent you the source. Extract it to a file named noblank.c
> > I suspect you have already done that.
> > Ok, now build the program...
> >
> > $ gcc -o noblank noblank.c
> >
> > After this runs (takes no more than 10 seconds), you will
> > have a program named "noblank" in the current directory.
> > Either move it to a place in your path, or use ./noblank
> > to run it. The usage is:
> >
> > $ noblank < input_file > output_file
> 
> I kindly thank you, Mike, for your program. I have tried that, but when I run
> 
> $./noblank file1.txt file2.txt
> 
> the program does not terminate, as if waiting for something.
You have to redirect input and output with < and > as stated above.
> 
> Paul
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux