diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-30 00:20:28 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-07-30 00:20:28 +1200 |
commit | 23a05c1d2d7210f9dbfb6682dcdb0e59deb21455 (patch) | |
tree | 76beeaa040be0999974c5402d1212564df36cf2f /man/man1 | |
parent | Change mkmv/mkcp from Bash funcs to sh scripts (diff) | |
download | dotfiles-23a05c1d2d7210f9dbfb6682dcdb0e59deb21455.tar.gz dotfiles-23a05c1d2d7210f9dbfb6682dcdb0e59deb21455.zip |
Change ca from Bash func to sh script
Diffstat (limited to 'man/man1')
-rw-r--r-- | man/man1/ca.1 | 13 | ||||
-rw-r--r-- | man/man1/mkmv.1 | 19 |
2 files changed, 13 insertions, 19 deletions
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 <tom@sanctum.geek.nz> 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 <tom@sanctum.geek.nz> |