Date: Mon, 28 Apr 1997 21:48:46 -0700 From: "Jin Guojun[ITG]" <jin@george.lbl.gov> To: fenner@parc.xerox.com Cc: FreeBSD-gnats-submit@freebsd.org, bugs@freebsd.org, gurney_j@resnet.uoregon.edu Subject: Re: bin/3387: sh mis-interpret the file name / awk failure Message-ID: <199704290448.VAA08913@george.lbl.gov>
next in thread | raw e-mail | index | archive | help
} That's correct. What's really going on is that "uname -v" outputs a } space at the end. } } % echo ">>`uname -v`<<" } >>FreeBSD 2.2-RELEASE #0: Mon Mar 24 11:03:31 GMT 1997 root@sundae.parc.xero } x.com:/usr/src/sys/compile/SUNDAE << } } so if you split on slashes and get the last piece, it is indeed "SUNDAE ". } awk is performing as you ask it to. Thanks for pointing it out. This tells that GNU awk is innocent. Then, the futher question is "Can we change uname to make no space at the end?" I am happy to fix it, but every one have to agree to do so. Comments? -Jin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704290448.VAA08913>