title: prevent newline in cut command
body: <p>Is it possible to <code>cut</code> a string without a line break?</p>
  
  <p><code>printf 'test.test'</code> prints the <code>test.test</code> without a newline.</p>
  
  <p>But if I cut the output with <code>printf 'test.test' | cut -d. -f1</code> there's a newline behind <code>test</code>.</p>