I don't want to be the only one to use `cut''. Use
`sed'' instead.
This commit is contained in:
parent
2d9c16b8ea
commit
69c1361306
@ -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 \
|
||||
|
@ -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`"
|
||||
|
Loading…
x
Reference in New Issue
Block a user