Re: [PATCH 3/7] add a test for semantic errors in config files
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 12 quoted lines
> Tanay Abhra <tanayabh@gmail.com> writes:
>
>>>>> + test_when_finished "mv .git/config.old .git/config" &&
>>>>> + echo "[alias]\n br" >.git/config &&
>>>
>>> Is the use of \n portable?
>>>
>>
>> Yes, you are right, will replace with printf in the next patch.
>
> ... or a cat >.git/config <<\EOF, since this is the construct used
> elsewhere in the script.
That sounds much better ;-) Thanks.