代码搜索:L
找到约 10,000 项符合「L」的源代码
代码结果 10,000
www.eeworm.com/read/101082/6243024
1b l6.1b
#print
Several of the programs we have been using as examples,
such as "grep" and "wc", have the property that when
you use file names with them, the output includes
the file names. For example, if y
www.eeworm.com/read/101082/6243026
1g l0.1g
#print
Is "ls -tl" identical to "ls -lt"? Try it,
then type yes or no.
#copyin
#user
#uncopyin
#match yes
#log
#next
1.1a 10
www.eeworm.com/read/101082/6243027
1b l1.1b
#print
Now that you know what word is wrong, you still have to find
it in one of the memo files so you can correct it. One way
is to use the text editor "ex", but that is rather slow. Better
is to u
www.eeworm.com/read/101082/6243028
1e l3.1e
#print
Of course you can collect the output from "pr" in a file,
just as you can with "cat". For practice, there are several
files in this directory whose names begin with "word".
Prepare a list (wit
www.eeworm.com/read/101082/6243029
1b l4.1b
#print
Is there a difference between
grep the memo[12]
and
cat memo[12] >temp
grep the
www.eeworm.com/read/101082/6243030
1b l3.1b
#print
How many spelling mistakes are there in the file "Ref",
according to "spell"?
Type "answer N", where N is the number you decide on.
#create Ref
Bianchi
Blue
Feldman
McIlroy
Roome
Rosin
Rosler
A
www.eeworm.com/read/101082/6243031
1c l0.1c
#print
How many characters are there in the file whose name begins
with "r"? Type "answer N", where N is the number of characters
you found.
#create ref
hello world
#create Ref
hello
#copyin
#user
#u
www.eeworm.com/read/101082/6243032
1c l4.1c
#print
There are two files called "story1" and "story2" in
this directory. Collect the outputs of
grep the story[12]
and
cat story[12] >temp
grep the
www.eeworm.com/read/101082/6243033
1c l6.1c
#print
In much the same way that you used "cat" and a pipe to
get rid of the file names from the output of "grep",
you can use "cat" and a pipe to get rid of the sub-totals
from "wc", if you so desire
www.eeworm.com/read/101082/6243034
1b l5.1b
#print
It seems silly to use a temporary file when all that's really
needed is to take the output from one program like "ls",
and pass it directly to the input of another, like "wc".
One of the origin