From 23a05c1d2d7210f9dbfb6682dcdb0e59deb21455 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 30 Jul 2016 00:20:28 +1200 Subject: Change ca from Bash func to sh script --- man/man1/ca.1 | 13 +++++++++++++ man/man1/mkmv.1 | 19 ------------------- 2 files changed, 13 insertions(+), 19 deletions(-) create mode 100644 man/man1/ca.1 delete mode 100644 man/man1/mkmv.1 (limited to 'man') diff --git a/man/man1/ca.1 b/man/man1/ca.1 new file mode 100644 index 00000000..1d79d62e --- /dev/null +++ b/man/man1/ca.1 @@ -0,0 +1,13 @@ +.TH CA 1 "July 2016" "Manual page for ca" +.SH NAME +.B ca +\- print a count of the given arguments +.SH SYNOPSIS +.B ca +arg1 arg2 arg3 +.SH DESCRIPTION +.B ca +counts all its arguments and prints the count. Useful for quickly counting a +glob expansion. +.SH AUTHOR +Tom Ryder diff --git a/man/man1/mkmv.1 b/man/man1/mkmv.1 deleted file mode 100644 index 20679db2..00000000 --- a/man/man1/mkmv.1 +++ /dev/null @@ -1,19 +0,0 @@ -.TH MKMV 1 "July 2016" "Manual page for mkmv" -.SH NAME -.B mkmv -\- create last argument as directory and move remaining arguments into it -.SH SYNOPSIS -.B mkmv -filea fileb newdir -.br -.B mkmv -filea fileb newdir/newsubdir -.SH DESCRIPTION -.B mkmv -combines mkdir(1) and mv(1) into one call, creating the last argument as a -directory and moving the remaining arguments into it. If the directory creation -fails, the script stops before attempting to move the files. -.SH SEE ALSO -mkdir(1), mv(1), mkcp(1) -.SH AUTHOR -Tom Ryder -- cgit v1.2.3