Mailinglist Archive: opensuse-bugs (4068 mails)

< Previous Next >
[Bug 715272] New: --output-delimiter is ignored on /usr/bin/cut command
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 31 Aug 2011 15:42:29 +0000
  • Message-id: <bug-715272-21960@http.bugzilla.novell.com/>

https://bugzilla.novell.com/show_bug.cgi?id=715272

https://bugzilla.novell.com/show_bug.cgi?id=715272#c0


Summary: --output-delimiter is ignored on /usr/bin/cut command
Classification: openSUSE
Product: openSUSE 11.4
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.4
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: R.Vickers@xxxxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---
Blocker: ---


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101
Firefox/6.0

In OpenSuSE 11.4 the --output-delimiter option of the cut command is silently
ignored if -c is also specified. This is different from the behaviour under
Opensuse 11.2 and SLES 11SP1 and has a catastrophic effect on any scripts which
rely on the old behaviour.

Example under 11.2 and SLES11:
$ echo 12 | cut --output-delimiter=X -c1,2
1X2

Under 11.4:
$ echo 12 | cut --output-delimiter=X -c1,2
12


Reproducible: Always

Steps to Reproduce:
1. At a command prompt type
echo 12 | cut --output-delimiter=X -c1,2
2.
3.
Actual Results:
12

Expected Results:
1X2

/usr/bin/cut is part of coreutils-8.9-7.1.x86_64

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
This Thread
  • No further messages