Re: bug in- cut

Jim Meyering <[email protected]>
Newsgroups gmane.comp.gnu.textutils.bugs
Message-ID <[email protected]>
"Bill Cecchin/R5/USDAFS" <[email protected]> wrote:
> I just downloaded your wonderful GnuUtils and started working with them.
> It is possible I am just not using it correctly; but when using "cut", I
> cannot seem to get it to output the fields with anything other than the
> input delimiter.  Example, I cut fields 2 & 4 of a comma delimited file and
> when I try to redirect it into a file delimited with a " " (space), I can't
> seem to get it to work.  Somehow I can't get the --output-delimiter=STRING
> to work correctly.  I have tried every way I can imagine and no success.
> Is this a but, or am I just missing something here?  Unfortunately, our
> organization has recently switched from Unix servers to Windows 2000 PC's
> and I am having a hard time working in Windows.  Your programs were an
> answers to Windows curses and I: Thank You Very Much for coming up with
> such a nice set of Unix utilities that will work in our Windows 2000
> environment.     SmileS

It works for me, using the latest test release.
  ftp://alpha.gnu.org/gnu/fetish/

Here's an example:

  $ echo a,b,c|cut -d, --output-delim=' ' -f 1,3
  a c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.