commit 0934e7f6ed164d713f3ac0e1556feff6e1cd97d6
parent 572ad271109bf791a7a6b5b656649fae918f50b9
Author: sin <sin@2f30.org>
Date: Sat, 31 Jan 2015 19:37:03 +0000
Add .Os sbase and sed replace to .Os sbase $(VERSION) in make install
Diffstat:
76 files changed, 76 insertions(+), 75 deletions(-)
diff --git a/Makefile b/Makefile
@@ -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:
diff --git a/basename.1 b/basename.1
@@ -1,6 +1,6 @@
.Dd November 21, 2014
.Dt BASENAME 1
-.Os
+.Os sbase
.Sh NAME
.Nm basename
.Nd strip leading path components
diff --git a/cal.1 b/cal.1
@@ -1,6 +1,6 @@
.Dd January 18, 2015
.Dt CAL 1
-.Os
+.Os sbase
.Sh NAME
.Nm cal
.Nd show calendar
diff --git a/cat.1 b/cat.1
@@ -1,6 +1,6 @@
.Dd January 16, 2015
.Dt CAT 1
-.Os
+.Os sbase
.Sh NAME
.Nm cat
.Nd concatenate files
diff --git a/chgrp.1 b/chgrp.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt CHGRP 1
-.Os
+.Os sbase
.Sh NAME
.Nm chgrp
.Nd change the file group ownership
diff --git a/chmod.1 b/chmod.1
@@ -1,6 +1,6 @@
.Dd January 17, 2015
.Dt CHMOD 1
-.Os
+.Os sbase
.Sh NAME
.Nm chmod
.Nd change file mode
diff --git a/chown.1 b/chown.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt CHOWN 1
-.Os
+.Os sbase
.Sh NAME
.Nm chown
.Nd change file ownership
diff --git a/chroot.1 b/chroot.1
@@ -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
diff --git a/cksum.1 b/cksum.1
@@ -1,6 +1,6 @@
.Dd January 17, 2015
.Dt CKSUM 1
-.Os
+.Os sbase
.Sh NAME
.Nm cksum
.Nd compute file checksum
diff --git a/cmp.1 b/cmp.1
@@ -1,6 +1,6 @@
.Dd November 21, 2014
.Dt CMP 1
-.Os
+.Os sbase
.Sh NAME
.Nm cmp
.Nd compare two files
diff --git a/cols.1 b/cols.1
@@ -1,6 +1,6 @@
.Dd December 8, 2014
.Dt COLS 1
-.Os
+.Os sbase
.Sh NAME
.Nm cols
.Nd columnize output
diff --git a/comm.1 b/comm.1
@@ -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
diff --git a/cp.1 b/cp.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt CP 1
-.Os
+.Os sbase
.Sh NAME
.Nm cp
.Nd copy files and directories
diff --git a/cron.1 b/cron.1
@@ -1,6 +1,6 @@
.Dd December 16, 2014
.Dt CRON 1
-.Os
+.Os sbase
.Sh NAME
.Nm cron
.Nd clock daemon
diff --git a/cut.1 b/cut.1
@@ -1,6 +1,6 @@
.Dd January 22, 2015
.Dt CUT 1
-.Os
+.Os sbase
.Sh NAME
.Nm cut
.Nd extract columns of data
diff --git a/date.1 b/date.1
@@ -1,6 +1,6 @@
.Dd January 23, 2015
.Dt DATE 1
-.Os
+.Os sbase
.Sh NAME
.Nm date
.Nd print date and time
diff --git a/dirname.1 b/dirname.1
@@ -1,6 +1,6 @@
.Dd January 23, 2015
.Dt DIRNAME 1
-.Os
+.Os sbase
.Sh NAME
.Nm dirname
.Nd strip final path component
diff --git a/du.1 b/du.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt DU 1
-.Os
+.Os sbase
.Sh NAME
.Nm du
.Nd display disk usage statistics
diff --git a/echo.1 b/echo.1
@@ -1,6 +1,6 @@
.Dd January 23, 2015
.Dt ECHO 1
-.Os
+.Os sbase
.Sh NAME
.Nm echo
.Nd print arguments
diff --git a/env.1 b/env.1
@@ -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
diff --git a/expand.1 b/expand.1
@@ -1,6 +1,6 @@
.Dd January 25, 2015
.Dt EXPAND 1
-.Os
+.Os sbase
.Sh NAME
.Nm expand
.Nd expand tabs to spaces
diff --git a/expr.1 b/expr.1
@@ -1,6 +1,6 @@
.Dd January 25, 2015
.Dt EXPR 1
-.Os
+.Os sbase
.Sh NAME
.Nm expr
.Nd evaluate expression
diff --git a/false.1 b/false.1
@@ -1,6 +1,6 @@
.Dd January 16, 2015
.Dt FALSE 1
-.Os
+.Os sbase
.Sh NAME
.Nm false
.Nd return failure
diff --git a/fold.1 b/fold.1
@@ -1,6 +1,6 @@
.Dd January 25, 2015
.Dt FOLD 1
-.Os
+.Os sbase
.Sh NAME
.Nm fold
.Nd wrap lines to width
diff --git a/grep.1 b/grep.1
@@ -1,6 +1,6 @@
.Dd November 21, 2014
.Dt GREP 1
-.Os
+.Os sbase
.Sh NAME
.Nm grep
.Nd search files for patterns
diff --git a/head.1 b/head.1
@@ -1,6 +1,6 @@
.Dd January 25, 2015
.Dt HEAD 1
-.Os
+.Os sbase
.Sh NAME
.Nm head
.Nd display initial lines of files
diff --git a/hostname.1 b/hostname.1
@@ -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
diff --git a/kill.1 b/kill.1
@@ -1,6 +1,6 @@
.Dd November 23, 2014
.Dt KILL 1
-.Os
+.Os sbase
.Sh NAME
.Nm kill
.Nd signal processes
diff --git a/link.1 b/link.1
@@ -1,6 +1,6 @@
.Dd January 25, 2015
.Dt LINK 1
-.Os
+.Os sbase
.Sh NAME
.Nm link
.Nd call the link function
diff --git a/ln.1 b/ln.1
@@ -1,6 +1,6 @@
.Dd January 26, 2015
.Dt LN 1
-.Os
+.Os sbase
.Sh NAME
.Nm ln
.Nd link files
diff --git a/logger.1 b/logger.1
@@ -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
diff --git a/logname.1 b/logname.1
@@ -1,6 +1,6 @@
.Dd January 26, 2015
.Dt LOGNAME 1
-.Os
+.Os sbase
.Sh NAME
.Nm logname
.Nd show login name
diff --git a/ls.1 b/ls.1
@@ -1,6 +1,6 @@
.Dd January 20, 2015
.Dt LS 1
-.Os
+.Os sbase
.Sh NAME
.Nm ls
.Nd list directory contents
diff --git a/md5sum.1 b/md5sum.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt MD5SUM 1
-.Os
+.Os sbase
.Sh NAME
.Nm md5sum
.Nd compute MD5 message digest
diff --git a/mkdir.1 b/mkdir.1
@@ -1,6 +1,6 @@
.Dd January 26, 2015
.Dt MKDIR 1
-.Os
+.Os sbase
.Sh NAME
.Nm mkdir
.Nd create directories
diff --git a/mkfifo.1 b/mkfifo.1
@@ -1,6 +1,6 @@
.Dd January 28, 2015
.Dt MKFIFO 1
-.Os
+.Os sbase
.Sh NAME
.Nm mkfifo
.Nd create named pipes
diff --git a/mktemp.1 b/mktemp.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt MKTEMP 1
-.Os
+.Os sbase
.Sh NAME
.Nm mktemp
.Nd make temporary filename
diff --git a/mv.1 b/mv.1
@@ -1,6 +1,6 @@
.Dd January 28, 2015
.Dt MV 1
-.Os
+.Os sbase
.Sh NAME
.Nm mv
.Nd move files and directories
diff --git a/nice.1 b/nice.1
@@ -1,6 +1,6 @@
.Dd January 28, 2015
.Dt NICE 1
-.Os
+.Os sbase
.Sh NAME
.Nm nice
.Nd run command with altered niceness
diff --git a/nl.1 b/nl.1
@@ -1,6 +1,6 @@
.Dd December 4, 2014
.Dt NL 1
-.Os
+.Os sbase
.Sh NAME
.Nm nl
.Nd line numbering filter
diff --git a/nohup.1 b/nohup.1
@@ -1,6 +1,6 @@
.Dd January 28, 2015
.Dt NOHUP 1
-.Os
+.Os sbase
.Sh NAME
.Nm nohup
.Nd run command immune to hangups
diff --git a/paste.1 b/paste.1
@@ -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
diff --git a/printenv.1 b/printenv.1
@@ -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.
diff --git a/pwd.1 b/pwd.1
@@ -1,6 +1,6 @@
.Dd November 23, 2014
.Dt PWD 1
-.Os
+.Os sbase
.Sh NAME
.Nm pwd
.Nd print working directory
diff --git a/readlink.1 b/readlink.1
@@ -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
diff --git a/renice.1 b/renice.1
@@ -1,6 +1,6 @@
.Dd January 29, 2015
.Dt RENICE 1
-.Os
+.Os sbase
.Sh NAME
.Nm renice
.Nd change niceness of processes
diff --git a/rm.1 b/rm.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt RM 1
-.Os
+.Os sbase
.Sh NAME
.Nm rm
.Nd remove directory entries
diff --git a/rmdir.1 b/rmdir.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt RMDIR 1
-.Os
+.Os sbase
.Sh NAME
.Nm rmdir
.Nd remove directories
diff --git a/seq.1 b/seq.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SEQ 1
-.Os
+.Os sbase
.Sh NAME
.Nm seq
.Nd print a sequence of numbers
diff --git a/setsid.1 b/setsid.1
@@ -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
diff --git a/sha1sum.1 b/sha1sum.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SHA1SUM 1
-.Os
+.Os sbase
.Sh NAME
.Nm sha1sum
.Nd compute SHA-1 message digest
diff --git a/sha256sum.1 b/sha256sum.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SHA256SUM 1
-.Os
+.Os sbase
.Sh NAME
.Nm sha256sum
.Nd compute SHA256 message digest
diff --git a/sha512sum.1 b/sha512sum.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SHA512SUM 1
-.Os
+.Os sbase
.Sh NAME
.Nm sha512sum
.Nd compute SHA512 message digest
diff --git a/sleep.1 b/sleep.1
@@ -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
diff --git a/sort.1 b/sort.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SORT 1
-.Os
+.Os sbase
.Sh NAME
.Nm sort
.Nd sort lines
diff --git a/split.1 b/split.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SPLIT 1
-.Os
+.Os sbase
.Sh NAME
.Nm split
.Nd split up a file
diff --git a/sponge.1 b/sponge.1
@@ -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
diff --git a/strings.1 b/strings.1
@@ -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
diff --git a/sync.1 b/sync.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt SYNC 1
-.Os
+.Os sbase
.Sh NAME
.Nm sync
.Nd flush disk cache
diff --git a/tail.1 b/tail.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt TAIL 1
-.Os
+.Os sbase
.Sh NAME
.Nm tail
.Nd display final lines of files
diff --git a/tar.1 b/tar.1
@@ -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
diff --git a/tee.1 b/tee.1
@@ -1,6 +1,6 @@
.Dd January 23, 2015
.Dt TEE 1
-.Os
+.Os sbase
.Sh NAME
.Nm tee
.Nd duplicate stdin
diff --git a/test.1 b/test.1
@@ -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
diff --git a/touch.1 b/touch.1
@@ -1,6 +1,6 @@
.Dd January 20, 2014
.Dt TOUCH 1
-.Os
+.Os sbase
.Sh NAME
.Nm touch
.Nd set file timestamps
diff --git a/tr.1 b/tr.1
@@ -1,6 +1,6 @@
.Dd January 16, 2015
.Dt TR 1
-.Os
+.Os sbase
.Sh NAME
.Nm tr
.Nd translate characters
diff --git a/true.1 b/true.1
@@ -1,6 +1,6 @@
.Dd January 16, 2015
.Dt TRUE 1
-.Os
+.Os sbase
.Sh NAME
.Nm true
.Nd return success
diff --git a/tty.1 b/tty.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt TTY 1
-.Os
+.Os sbase
.Sh NAME
.Nm tty
.Nd print terminal name
diff --git a/uname.1 b/uname.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt UNAME 1
-.Os
+.Os sbase
.Sh NAME
.Nm uname
.Nd print system information
diff --git a/unexpand.1 b/unexpand.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt UNEXPAND 1
-.Os
+.Os sbase
.Sh NAME
.Nm unexpand
.Nd convert blanks to tabs
diff --git a/uniq.1 b/uniq.1
@@ -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
diff --git a/unlink.1 b/unlink.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt UNLINK 1
-.Os
+.Os sbase
.Sh NAME
.Nm unlink
.Nd call the unlink function
diff --git a/uudecode.1 b/uudecode.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt UUDECODE 1
-.Os
+.Os sbase
.Sh NAME
.Nm uudecode
.Nd decode a uuencoded file
diff --git a/uuencode.1 b/uuencode.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt UUENCODE 1
-.Os
+.Os sbase
.Sh NAME
.Nm uuencode
.Nd encode a binary file
diff --git a/wc.1 b/wc.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt WC 1
-.Os
+.Os sbase
.Sh NAME
.Nm wc
.Nd word count
diff --git a/xargs.1 b/xargs.1
@@ -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
diff --git a/yes.1 b/yes.1
@@ -1,6 +1,6 @@
.Dd January 30, 2015
.Dt YES 1
-.Os
+.Os sbase
.Sh NAME
.Nm yes
.Nd output a string repeatedly