Subject: Re: Silly uname -v question
To: B. James Phillippe <bryan-spamtrap0@darkforest.org>
From: Andrew Brown <atatat@atatdot.net>
List: tech-kern
Date: 02/14/2002 14:28:32
>> 	const char version[] =     "NetBSD 1.5ZA (GENERIC) #0: Thu Feb 14 13:44:08 EST 2002\n    andrew@this:/usr/src/sys/arch/i386/compile/GENERIC\n";
>> 	#
>
>Ah, and this is being generated by conf/newvers.sh.  It doesn't appear that
>I can override this string without changing the generated C file
>(overwritten everytime I build a new kernel) or changing the shell script
>(not ideal).  I was hoping to see something like:
>
>default_version="${ost} ${osr} (${id}) #${v}: ${t}\\n    ${u}@${h}:${d}\\n"
>version="${MY_HAPPY_VERSION:-${default_version}}"
>
>echo \
>  "const char version[] = \
>    \"${version}\\n\";" \
>  >> vers.c

there's no reason you can't do something like that all by yourself...
:)

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."