fix: pacman 3.5.4() addon script - (copy addin etc files keeping permissions) - templ...
[cmdllinux.git] / scripts / _rm_linefeed
blob0af249a224d3e40fde7eae6be473004c76f6d184
1 #! /bin/bash
3 if [ "$1" = "-notrunc" ]; then
4 tr '\n' ' ' < /dev/stdin
5 else
6 tr '\n' ' ' < /dev/stdin | head -c -1
7 fi