Mercurial > utils
changeset 563:2f968f1c7897
Remove docs from scripts. Improve man page.
author | Oleksandr Gavenko <gavenkoa@gmail.com> |
---|---|
date | Sun, 12 Jan 2014 01:00:39 +0200 |
parents | 950a1488b347 |
children | 349104873292 |
files | emacs/e emacs/e.1 emacs/ew |
diffstat | 3 files changed, 19 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/emacs/e Sat Jan 11 23:27:25 2014 +0200 +++ b/emacs/e Sun Jan 12 01:00:39 2014 +0200 @@ -1,12 +1,5 @@ #!/bin/sh - # Written by Oleksandr Gavenko <gavenkoa@gmail.com>, 2008. -# File placed by author in public domain. - -# View files in emacs buffer using emacsclient. -# If emacs not already running, run it. -# Put this file 'e' in your PATH. -# Name `e' because `edit'. case "$1" in -h|-help|--help)
--- a/emacs/e.1 Sat Jan 11 23:27:25 2014 +0200 +++ b/emacs/e.1 Sun Jan 12 01:00:39 2014 +0200 @@ -14,19 +14,34 @@ .I file... .SH DESCRIPTION .B e -is shortcut for "emacsclient -n". +is shortcut for "emacsclient -n". Name +.B e +comes from word +.I edit\c +\[char46] .B ew -is shortcut for "emacsclient -c". +is shortcut for "emacsclient -c". Name +.B ew +comes from word +.I edit +and +.I wait +in +.I window\c +\[char46] -Both start emacs if it is not already running through "-a emacs" option. +Both start Emacs if it is not already running through "-a emacs" option. Under Cygwin native Emacs being used. .SH OPTIONS .IP --help print this help .SH COPYRIGHT -e, ew utilities and documentation placed in public domain by author. +.B e\c +, +.B ew +utilities and documentation was placed in public domain by author. .SH AUTHOR Oleksandr Gavenko <gavenkoa@gmail.com>. .SH BUGS
--- a/emacs/ew Sat Jan 11 23:27:25 2014 +0200 +++ b/emacs/ew Sun Jan 12 01:00:39 2014 +0200 @@ -1,11 +1,6 @@ #!/bin/sh - # Written by Oleksandr Gavenko <gavenkoa@gmail.com>, 2008. -# File placed by author in public domain. -# Wait for end of editing file in emacs buffer using emacsclientw. -# If emacs not already running, run it. -# Put this file in your PATH. # Name `ew' because `edit and wait for C-x #'. case "$1" in