If I nano two files, one of which reads 'this' without me entering a newline, and one of which reads 'is' without me entering a newline, I want to be able to then cat the two files together into something like 'thisis'.Instead, the newlines are inserted automatically.alec@ROOROO:~/$ cat test1 test2 > test3alec@ROOROO:~/$ cat test3thisisSo, how can I concatenate two files without adding a newline?
concatenate two files without adding a newline
text processing;cat;newlines
Those trailing newlines are added by nano, not by cat.Use nano's -L parameter:-L (--nonewlines)    Don't add newlines to the ends of files.Or ~/.nanorc's nonewlines command:set/unset nonewlines    Don't add newlines to the ends of files.