In *nix, how do I display (cat) a file with no line-wrapping: longer lines should be cut such that they fit into screen's width.
In *nix, how do I display (cat) a file with no line-wrapping: longer lines should be cut such that they fit into screen's width.
Other solution, this time using paginate command pr
echo "your long line" | pr -m -t -w 80