Re: removing blanks from a file
- From: Luka Djigas <ldigas@@gmail.com>
- Date: Fri, 30 Jun 2006 03:16:50 +0200
On Thu, 29 Jun 2006 20:14:02 -0400, Bil Kleb <Bil.Kleb@xxxxxxxx>
wrote:
Luka Djigas wrote:
Greetings
Hello.
I have a file, which is the output of one of my programs. It's a
script file, and therefore it's not supposed to have blanks in it.
I don't completely understand the "script file" statement
so this may be way off the mark, but I'd just use a dynamic
language or a *nix filter like awk to remove the spaces
from the file, e.g.,
$ ruby -pe'$_.gsub!(/ /, "")' file_with_spaces > file_without
Regards,
Yes, I had considered that. What I am doing is writing several script
files (a file with a set of commands and points, and other data - I'm
3D modeling something based on my calculations ) and the problem is
exactly in that. If it was only one file, I would do the
search/replace option in notebook, and voila. But since that isn't the
case, I need need something that will automate the process.
ldigas
.
- References:
- removing blanks from a file
- From: Luka Djigas
- Re: removing blanks from a file
- From: Bil Kleb
- removing blanks from a file
- Prev by Date: Re: removing blanks from a file
- Next by Date: linking g95-built library from VC++
- Previous by thread: Re: removing blanks from a file
- Next by thread: Re: removing blanks from a file
- Index(es):
Relevant Pages
|