On Thursday 13 January 2011 11:04:37 Adrian Johnson wrote:
> I have 2 GB file tab-delim file. I want to fill the empty
> columns spaces with 0. If I use Vim , vim hangs due to
> memory.
>
> Is there a simple awk magic.
something like
awk 's/ /0/g' yourfile > yournewfile
should work
> also , I could not find any awk mailing list. do you know if
> there is a awk help mailing list.
usenet is your friend -- fire up knode and subscribe to
comp.lang.awk -- there are some very talented and friendly ppl
that frequent that newsgroup
> I would like to do following:
>
> $ cat myfile | awk ''''do some magic' > my_new_file.
the magic will probably turn out to be very similar to what you
were attempting in vim -- the substitute command is the same
hth,
sc
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php