summaryrefslogtreecommitdiffstats
path: root/bin/csh/USD.doc/csh.2
diff options
context:
space:
mode:
Diffstat (limited to 'bin/csh/USD.doc/csh.2')
-rw-r--r--bin/csh/USD.doc/csh.226
1 files changed, 13 insertions, 13 deletions
diff --git a/bin/csh/USD.doc/csh.2 b/bin/csh/USD.doc/csh.2
index 043b73f..d9e8001 100644
--- a/bin/csh/USD.doc/csh.2
+++ b/bin/csh/USD.doc/csh.2
@@ -49,7 +49,7 @@ We will later see what kinds of commands are usefully placed there.
For now we need not have this file and the shell does not complain about
its absence.
.PP
-A
+A
.I "login shell" ,
executed after you login to the system,
will, after it reads commands from
@@ -131,7 +131,7 @@ processing my
.I \&.login
file and begin reading commands from the terminal, prompting for each with
`% '.
-When I log off (by giving the
+When I log off (by giving the
.I logout
command) the shell
will print `logout' and execute commands from the file `.logout'
@@ -328,11 +328,11 @@ main()
printf("hello);
}
% cc !$
-cc bug.c
+cc bug.c
"bug.c", line 4: newline in string or char constant
"bug.c", line 5: syntax error
% ed !$
-ed bug.c
+ed bug.c
29
4s/);/"&/p
printf("hello");
@@ -340,10 +340,10 @@ w
30
q
% !c
-cc bug.c
+cc bug.c
% a.out
hello% !e
-ed bug.c
+ed bug.c
30
4s/lo/lo\e\en/p
printf("hello\en");
@@ -356,7 +356,7 @@ cc bug.c \-o bug
a.out: 2784+364+1028 = 4176b = 0x1050b
bug: 2784+364+1028 = 4176b = 0x1050b
% ls \-l !*
-ls \-l a.out bug
+ls \-l a.out bug
\(mirwxr\(mixr\(mix 1 bill 3932 Dec 19 09:41 a.out
\(mirwxr\(mixr\(mix 1 bill 3932 Dec 19 09:42 bug
% bug
@@ -364,14 +364,14 @@ hello
% num bug.c | spp
spp: Command not found.
% ^spp^ssp
-num bug.c | ssp
+num bug.c | ssp
1 main()
3 {
4 printf("hello\en");
5 }
% !! | lpr
num bug.c | ssp | lpr
-%
+%
.DE
.KE
In this example we have a very simple C program which has a bug (or two)
@@ -645,7 +645,7 @@ EOT
.DE
If the job did not terminate normally the `Done' message might say
something else like `Killed'.
-If you want the
+If you want the
terminations of background jobs to be reported at the time they occur
(possibly interrupting the output of other foreground jobs), you can set
the
@@ -770,7 +770,7 @@ job \- identified by a `\-' in the output of
.I jobs.
When the current job terminates, the previous job becomes the current job.
When given, the argument is either `%\-' (indicating
-the previous job); `%#', where # is the job number;
+the previous job); `%#', where # is the job number;
`%pref' where pref is some unique prefix of the command name
and arguments of one of the jobs; or `%?' followed by some string found
in only one of the jobs.
@@ -859,7 +859,7 @@ text editor might take a long time.
Stopped
% bg
[1] ed bigfile &
-%
+%
. . . some foreground commands
.ta 1.75i
[1] Stopped (tty input) ed bigfile
@@ -868,7 +868,7 @@ ed bigfile
w
120000
q
-%
+%
.so tabs
.DE
So after the `s' command was issued, the `ed' job was stopped with ^Z
OpenPOWER on IntegriCloud