summaryrefslogtreecommitdiff
path: root/EXAMPLES
diff options
context:
space:
mode:
authorToby Goodwin <tjg@star.le.ac.uk>1999-05-12 16:47:55 +0100
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:22:09 +0100
commit2c998c165268f24f038e02f103e07a967b343c3f (patch)
tree0851688418368756c86fe2c16ab439c42fd5c302 /EXAMPLES
parentf983e502ce8fc8d1d0289b8feb269218a70618e6 (diff)
beta: rc-1.5b6
Diffstat (limited to 'EXAMPLES')
-rw-r--r--EXAMPLES16
1 files changed, 8 insertions, 8 deletions
diff --git a/EXAMPLES b/EXAMPLES
index 90bd8df..9f4b5c8 100644
--- a/EXAMPLES
+++ b/EXAMPLES
@@ -1,6 +1,6 @@
-There is no repository for useful rc code snippets as yet, so I'm including
-a (short) file in the distribution with some helpful/intriguing pieces of
-rc code.
+There is no repository for useful rc code snippets as yet, so
+I'm including a (short) file in the distribution with some
+helpful/intriguing pieces of rc code.
A sample .rcrc
--------------
@@ -624,7 +624,7 @@ Status: RO
Use
trimhist [-#lines]
-trims your history file back; useful for folks with dis quota's :-)
+trims your history file back; useful for folks with disk quota's :-)
fn trimhist { p1=-100 {
cp $history $history^'~'
~ $#* 1 && p1=$1
@@ -742,8 +742,8 @@ fn pathprefix { p1=() i=() j=() {
home=/user/users/rsalz
z=/usr/users
-pathprefix /usr/users/rsalz home usr # --> $home
-pathprefix /usr/users/rsalz z # --> $z/rsalz
-pathprefix /usr/users/rsalz/foo z home # --> $z/rsalz/foo
-pathprefix /usr/users/rsalz/foo home # --> $home/foo
+pathprefix /usr/users/rsalz home usr # --> $home
+pathprefix /usr/users/rsalz z # --> $z/rsalz
+pathprefix /usr/users/rsalz/foo z home # --> $z/rsalz/foo
+pathprefix /usr/users/rsalz/foo home # --> $home/foo