Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] What in the world happened to coreutils?!?!
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: Wed, 19 May 2004 04:17:40 +0200
  • Message-id: <200405190417.40198.andjoh@xxxxxxxxxx>
On Wednesday 19 May 2004 04.03, David Krider wrote:
> 10165301 GM CPC STABAR, FR CORVETTE 14105128
> 4656102 RICHRYSLER STABAR, FR 01 PT 4656102
> 4694750 CHRYSLER STABAR, FR NS MVX-2513-H
>
> And the command:
> > cut --output-delimiter="|" -c 1-17,18-32,33-52,53-

The default delimiter is tab. Are those really tabs in that file, or just
spaces
>
> I get:
>
> 10165301 GM CPC STABAR, FR CORVETTE |14105128
> 4656102 RICHRYSLER STABAR, FR 01 PT |4656102
> 4694750 CHRYSLER STABAR, FR NS |MVX-2513-H

My guess would be that the only tab in there is before the last column, and
that 'cut' therefore only sees two columns in there.

< Previous Next >
Follow Ups