Add .Os sbase and sed replace to .Os sbase $(VERSION) in make install

This commit is contained in:
sin 2015-01-31 19:37:03 +00:00
parent 572ad27110
commit 0934e7f6ed
76 changed files with 76 additions and 75 deletions

View File

@ -168,6 +168,7 @@ install: all
cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
cd $(DESTDIR)$(PREFIX)/bin && chmod 755 $(BIN)
mkdir -p $(DESTDIR)$(MANPREFIX)/man1
for m in $(MAN); do sed "s/.Os sbase/.Os sbase $(VERSION)/g" < "$$m" > $(DESTDIR)$(MANPREFIX)/man1/"$$m"; done
cd $(DESTDIR)$(MANPREFIX)/man1 && chmod 644 $(MAN)
uninstall:

View File

@ -1,6 +1,6 @@
.Dd November 21, 2014
.Dt BASENAME 1
.Os
.Os sbase
.Sh NAME
.Nm basename
.Nd strip leading path components

2
cal.1
View File

@ -1,6 +1,6 @@
.Dd January 18, 2015
.Dt CAL 1
.Os
.Os sbase
.Sh NAME
.Nm cal
.Nd show calendar

2
cat.1
View File

@ -1,6 +1,6 @@
.Dd January 16, 2015
.Dt CAT 1
.Os
.Os sbase
.Sh NAME
.Nm cat
.Nd concatenate files

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt CHGRP 1
.Os
.Os sbase
.Sh NAME
.Nm chgrp
.Nd change the file group ownership

View File

@ -1,6 +1,6 @@
.Dd January 17, 2015
.Dt CHMOD 1
.Os
.Os sbase
.Sh NAME
.Nm chmod
.Nd change file mode

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt CHOWN 1
.Os
.Os sbase
.Sh NAME
.Nm chown
.Nd change file ownership

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt CHROOT 1
.Os
.Os sbase
.Sh NAME
.Nm chroot
.Nd invoke a command with a different root directory

View File

@ -1,6 +1,6 @@
.Dd January 17, 2015
.Dt CKSUM 1
.Os
.Os sbase
.Sh NAME
.Nm cksum
.Nd compute file checksum

2
cmp.1
View File

@ -1,6 +1,6 @@
.Dd November 21, 2014
.Dt CMP 1
.Os
.Os sbase
.Sh NAME
.Nm cmp
.Nd compare two files

2
cols.1
View File

@ -1,6 +1,6 @@
.Dd December 8, 2014
.Dt COLS 1
.Os
.Os sbase
.Sh NAME
.Nm cols
.Nd columnize output

2
comm.1
View File

@ -1,6 +1,6 @@
.Dd January 18, 2015
.Dt COMM 1
.Os
.Os sbase
.Sh NAME
.Nm comm
.Nd select or reject lines common to two files

2
cp.1
View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt CP 1
.Os
.Os sbase
.Sh NAME
.Nm cp
.Nd copy files and directories

2
cron.1
View File

@ -1,6 +1,6 @@
.Dd December 16, 2014
.Dt CRON 1
.Os
.Os sbase
.Sh NAME
.Nm cron
.Nd clock daemon

2
cut.1
View File

@ -1,6 +1,6 @@
.Dd January 22, 2015
.Dt CUT 1
.Os
.Os sbase
.Sh NAME
.Nm cut
.Nd extract columns of data

2
date.1
View File

@ -1,6 +1,6 @@
.Dd January 23, 2015
.Dt DATE 1
.Os
.Os sbase
.Sh NAME
.Nm date
.Nd print date and time

View File

@ -1,6 +1,6 @@
.Dd January 23, 2015
.Dt DIRNAME 1
.Os
.Os sbase
.Sh NAME
.Nm dirname
.Nd strip final path component

2
du.1
View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt DU 1
.Os
.Os sbase
.Sh NAME
.Nm du
.Nd display disk usage statistics

2
echo.1
View File

@ -1,6 +1,6 @@
.Dd January 23, 2015
.Dt ECHO 1
.Os
.Os sbase
.Sh NAME
.Nm echo
.Nd print arguments

2
env.1
View File

@ -1,6 +1,6 @@
.Dd January 24, 2015
.Dt ENV 1
.Os
.Os sbase
.Sh NAME
.Nm env
.Nd modify the environment, then print it or run a command

View File

@ -1,6 +1,6 @@
.Dd January 25, 2015
.Dt EXPAND 1
.Os
.Os sbase
.Sh NAME
.Nm expand
.Nd expand tabs to spaces

2
expr.1
View File

@ -1,6 +1,6 @@
.Dd January 25, 2015
.Dt EXPR 1
.Os
.Os sbase
.Sh NAME
.Nm expr
.Nd evaluate expression

View File

@ -1,6 +1,6 @@
.Dd January 16, 2015
.Dt FALSE 1
.Os
.Os sbase
.Sh NAME
.Nm false
.Nd return failure

2
fold.1
View File

@ -1,6 +1,6 @@
.Dd January 25, 2015
.Dt FOLD 1
.Os
.Os sbase
.Sh NAME
.Nm fold
.Nd wrap lines to width

2
grep.1
View File

@ -1,6 +1,6 @@
.Dd November 21, 2014
.Dt GREP 1
.Os
.Os sbase
.Sh NAME
.Nm grep
.Nd search files for patterns

2
head.1
View File

@ -1,6 +1,6 @@
.Dd January 25, 2015
.Dt HEAD 1
.Os
.Os sbase
.Sh NAME
.Nm head
.Nd display initial lines of files

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt HOSTNAME 1
.Os
.Os sbase
.Sh NAME
.Nm hostname
.Nd set or print name of current host system

2
kill.1
View File

@ -1,6 +1,6 @@
.Dd November 23, 2014
.Dt KILL 1
.Os
.Os sbase
.Sh NAME
.Nm kill
.Nd signal processes

2
link.1
View File

@ -1,6 +1,6 @@
.Dd January 25, 2015
.Dt LINK 1
.Os
.Os sbase
.Sh NAME
.Nm link
.Nd call the link function

2
ln.1
View File

@ -1,6 +1,6 @@
.Dd January 26, 2015
.Dt LN 1
.Os
.Os sbase
.Sh NAME
.Nm ln
.Nd link files

View File

@ -1,6 +1,6 @@
.Dd December 4, 2014
.Dt LOGGER 1
.Os
.Os sbase
.Sh NAME
.Nm logger
.Nd make entries in the system log

View File

@ -1,6 +1,6 @@
.Dd January 26, 2015
.Dt LOGNAME 1
.Os
.Os sbase
.Sh NAME
.Nm logname
.Nd show login name

2
ls.1
View File

@ -1,6 +1,6 @@
.Dd January 20, 2015
.Dt LS 1
.Os
.Os sbase
.Sh NAME
.Nm ls
.Nd list directory contents

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt MD5SUM 1
.Os
.Os sbase
.Sh NAME
.Nm md5sum
.Nd compute MD5 message digest

View File

@ -1,6 +1,6 @@
.Dd January 26, 2015
.Dt MKDIR 1
.Os
.Os sbase
.Sh NAME
.Nm mkdir
.Nd create directories

View File

@ -1,6 +1,6 @@
.Dd January 28, 2015
.Dt MKFIFO 1
.Os
.Os sbase
.Sh NAME
.Nm mkfifo
.Nd create named pipes

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt MKTEMP 1
.Os
.Os sbase
.Sh NAME
.Nm mktemp
.Nd make temporary filename

2
mv.1
View File

@ -1,6 +1,6 @@
.Dd January 28, 2015
.Dt MV 1
.Os
.Os sbase
.Sh NAME
.Nm mv
.Nd move files and directories

2
nice.1
View File

@ -1,6 +1,6 @@
.Dd January 28, 2015
.Dt NICE 1
.Os
.Os sbase
.Sh NAME
.Nm nice
.Nd run command with altered niceness

2
nl.1
View File

@ -1,6 +1,6 @@
.Dd December 4, 2014
.Dt NL 1
.Os
.Os sbase
.Sh NAME
.Nm nl
.Nd line numbering filter

View File

@ -1,6 +1,6 @@
.Dd January 28, 2015
.Dt NOHUP 1
.Os
.Os sbase
.Sh NAME
.Nm nohup
.Nd run command immune to hangups

View File

@ -1,6 +1,6 @@
.Dd January 29, 2015
.Dt PASTE 1
.Os
.Os sbase
.Sh NAME
.Nm paste
.Nd merge lines of files in parallel or sequentially

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt PRINTENV 1
.Os
.Os sbase
.Sh NAME
.Nm printenv
.Nd print out the environment or the values of specific variables.

2
pwd.1
View File

@ -1,6 +1,6 @@
.Dd November 23, 2014
.Dt PWD 1
.Os
.Os sbase
.Sh NAME
.Nm pwd
.Nd print working directory

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt READLINK 1
.Os
.Os sbase
.Sh NAME
.Nm readlink
.Nd print value of a symbolic link or canonical file name

View File

@ -1,6 +1,6 @@
.Dd January 29, 2015
.Dt RENICE 1
.Os
.Os sbase
.Sh NAME
.Nm renice
.Nd change niceness of processes

2
rm.1
View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt RM 1
.Os
.Os sbase
.Sh NAME
.Nm rm
.Nd remove directory entries

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt RMDIR 1
.Os
.Os sbase
.Sh NAME
.Nm rmdir
.Nd remove directories

2
seq.1
View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SEQ 1
.Os
.Os sbase
.Sh NAME
.Nm seq
.Nd print a sequence of numbers

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SETSID 1
.Os
.Os sbase
.Sh NAME
.Nm setsid
.Nd run a program in a new session

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SHA1SUM 1
.Os
.Os sbase
.Sh NAME
.Nm sha1sum
.Nd compute SHA-1 message digest

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SHA256SUM 1
.Os
.Os sbase
.Sh NAME
.Nm sha256sum
.Nd compute SHA256 message digest

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SHA512SUM 1
.Os
.Os sbase
.Sh NAME
.Nm sha512sum
.Nd compute SHA512 message digest

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SLEEP 1
.Os
.Os sbase
.Sh NAME
.Nm sleep
.Nd wait for a number of seconds

2
sort.1
View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SORT 1
.Os
.Os sbase
.Sh NAME
.Nm sort
.Nd sort lines

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SPLIT 1
.Os
.Os sbase
.Sh NAME
.Nm split
.Nd split up a file

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SPONGE 1
.Os
.Os sbase
.Sh NAME
.Nm sponge
.Nd soak up standard input and write to a file

View File

@ -1,6 +1,6 @@
.Dd November 23, 2014
.Dt STRINGS 1
.Os
.Os sbase
.Sh NAME
.Nm strings
.Nd print the strings of pritable characters in files

2
sync.1
View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SYNC 1
.Os
.Os sbase
.Sh NAME
.Nm sync
.Nd flush disk cache

2
tail.1
View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt TAIL 1
.Os
.Os sbase
.Sh NAME
.Nm tail
.Nd display final lines of files

2
tar.1
View File

@ -1,6 +1,6 @@
.Dd January 31, 2015
.Dt TAR 1
.Os
.Os sbase
.Sh NAME
.Nm tar
.Nd create, list or extract a tape archive

2
tee.1
View File

@ -1,6 +1,6 @@
.Dd January 23, 2015
.Dt TEE 1
.Os
.Os sbase
.Sh NAME
.Nm tee
.Nd duplicate stdin

2
test.1
View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt TEST 1
.Os
.Os sbase
.Sh NAME
.Nm test
.Nd check file types and compare values

View File

@ -1,6 +1,6 @@
.Dd January 20, 2014
.Dt TOUCH 1
.Os
.Os sbase
.Sh NAME
.Nm touch
.Nd set file timestamps

2
tr.1
View File

@ -1,6 +1,6 @@
.Dd January 16, 2015
.Dt TR 1
.Os
.Os sbase
.Sh NAME
.Nm tr
.Nd translate characters

2
true.1
View File

@ -1,6 +1,6 @@
.Dd January 16, 2015
.Dt TRUE 1
.Os
.Os sbase
.Sh NAME
.Nm true
.Nd return success

2
tty.1
View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt TTY 1
.Os
.Os sbase
.Sh NAME
.Nm tty
.Nd print terminal name

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt UNAME 1
.Os
.Os sbase
.Sh NAME
.Nm uname
.Nd print system information

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt UNEXPAND 1
.Os
.Os sbase
.Sh NAME
.Nm unexpand
.Nd convert blanks to tabs

2
uniq.1
View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt UNIQ 1
.Os
.Os sbase
.Sh NAME
.Nm uniq
.Nd report or filter out repeated lines in a file

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt UNLINK 1
.Os
.Os sbase
.Sh NAME
.Nm unlink
.Nd call the unlink function

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt UUDECODE 1
.Os
.Os sbase
.Sh NAME
.Nm uudecode
.Nd decode a uuencoded file

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt UUENCODE 1
.Os
.Os sbase
.Sh NAME
.Nm uuencode
.Nd encode a binary file

2
wc.1
View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt WC 1
.Os
.Os sbase
.Sh NAME
.Nm wc
.Nd word count

View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt XARGS 1
.Os
.Os sbase
.Sh NAME
.Nm xargs
.Nd constuct argument list(s) and execute command

2
yes.1
View File

@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt YES 1
.Os
.Os sbase
.Sh NAME
.Nm yes
.Nd output a string repeatedly