Subject: Re: bug#19240: cut 8.22 adds newline

From: Bob Proulx <[email-masked]>
Date: Thu, 4 Dec 2014 13:24:36 -0700

Additional interesting cases from my friend Ken.

  HP-UX 11.31 (and earlier)
  # printf "one two" | cut -d' ' -f2
  #

  AIX 4.3 (and presumably also earlier releases)
  # printf "one two" | cut -d' ' -f2
  #

  Tru64 V5.0A
  # printf "one two" | cut -d' ' -f2
  #

  AIX 5.2 (and later releases)
  # printf "one two" | cut -d' ' -f2
  two
  #

  Solaris 11 (and earlier)
  # printf "one two" | cut -d' ' -f2
  two
  # printf "one two" | cut -c5-7
  two#