On 08/08/2014 06:52 AM, James Simmons, President & CEO wrote:
Each file has 1 line with no newline. concatenation should NOT have a newline.
That is the point of concatenation.

As you referred to Cygwin - here's the case on that platform:

  $ uname -a
  CYGWIN_NT-6.1 xxxxxxxx 1.7.31(0.272/5/3) 2014-07-25 11:26 x86_64 Cygwin

  $ $ cat --version | sed 1q
  cat (GNU coreutils) 8.15

  $ printf 1234 > file1

  $ printf 5678 > file2

  $ cat file1 file2 > file12

  $ file file1 file2 file12
  file1:  ASCII text, with no line terminators
  file2:  ASCII text, with no line terminators
  file12: ASCII text, with no line terminators

  $ od -An -tx1z file12
   31 32 33 34 35 36 37 38                          >12345678<

I don't see a bug here either.

Have a nice day,
Berny



Reply via email to