I am in a unix env and I need to append below content to a txt file without starting at a new line: the content is:
set value = 9.0.1.3 || set var = 12.4
the txt file content is:
echo on
set name = 'charlie' ||
but when I use the command 'cat', I can append the content to the txt file, but the content will start from a new line, like this:
echo on
set name = 'charlie' ||
set value = 9.0.1.3 || set var = 12.4
well, my goal is to get it like this:
echo on
set name = 'charlie' || set value = 9.0.1.3 || set var = 12.4
What command should I use to reach my goal? thx.