I don't want to be the only one to use `cut''. Use `sed'' instead.

This commit is contained in:
David E. O'Brien 1998-09-10 00:27:57 +00:00
parent 8f748848d8
commit c4e8b7e41e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39034
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile.inc1,v 1.10 1998/09/09 19:30:20 markm Exp $
# $Id: Makefile.inc1,v 1.11 1998/09/10 00:13:48 obrien Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@ -807,7 +807,6 @@ build-tools:
usr.bin/col \
usr.bin/colldef \
usr.bin/cpp \
usr.bin/cut \
usr.bin/expand \
usr.bin/file2c \
usr.bin/find \

View File

@ -1,5 +1,5 @@
# $NetBSD: mkconf,v 1.1.1.1 1997/07/24 21:20:12 christos Exp $
# $Id$
# $Id: newvers.sh,v 1.1 1998/08/27 08:09:41 obrien Exp $
# mkconf
# Generate local configuration parameters for amd
#
@ -16,7 +16,7 @@ cat << __EOF
#define HOST_OS "`uname -s | tr '[A-Z]' '[a-z]'``uname -r`"
/* Define only name of host machine OS (eg. solaris2) */
#define HOST_OS_NAME "`uname -s | tr '[A-Z]' '[a-z]'``uname -r | cut -d. -f 1`"
#define HOST_OS_NAME "`uname -s | tr '[A-Z]' '[a-z]'``uname -r | sed -e 's/\..*$//'`"
/* Define only version of host machine (eg. 2.5.1) */
#define HOST_OS_VERSION "`uname -r`"