I input data into a csv by 'echo'-ing some values into another csv.
I tried echo "" and in the next line echo "values" but i get intermittent empty lines..
I need empty line only at the start....
As I understand the question, there are two problems. First, you want an empty line at the start and second, you don't want intermediate blank lines.
For this, you can just do
Info page of echo says
So, the newline that you get is due to the previous echo that you have done. For example
To remove the newline-inserting-behaviour of
There are many ways of doing this. Since you have not explained your issue with any detail, I am assuming that you are doing something like this:
At any rate, you seem to be extracting some lines of one csv file and inserting them into another. To add an empty line to the beginning of the new csv file, you do any of these:
Or, if you have already created