Hi,

I noticed gcc --version produces two newlines at the end of the version 
message. See below.
----------
$ gcc --version
gcc (GCC) 12.4.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


$ [next shell line here]
----------
I see in files like gcc/gcc.cc and gcc/gcov.cc the string with two newlines is 
intentionally used:

"This is free software; see the source for copying conditions.  There is NO\n\
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"

I was curious if there was some historical reason for the "\n\n".

Ryder


Reply via email to