[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cut bug?

From: Juhana Sadeharju
Subject: cut bug?
Date: Fri, 22 Dec 2006 22:09:09 +0200 (EET)

Hello. The "cut" (version 2.0.21) might have a bug with
  cut -f 6- -d ' '
as it counts each ' ' as a field. That makes impossible to
cut columns out of "tar tvf" listings.

Example: the input file is
a b c
a  b c
a   b c
cat test | cut -d ' ' -f 2-  gives
b c
 b c
  b c
instead of
b c
b c
b c


reply via email to

[Prev in Thread] Current Thread [Next in Thread]