[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 110: Undefined array key "cached"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 111: Undefined array key "normal"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 112: Undefined array key "total"
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3391: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3393: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
Cabrillo College Linux Classes • View topic - lab7 Q6

lab7 Q6

Introduction to UNIX/Linux

lab7 Q6

Postby sergio ybarra on Wed Oct 29, 2008 2:16 pm

Which set of misspelled [i]words[/i] the sonnet1 or all sonnet*?
sergio ybarra
 
Posts: 21
Joined: Wed Sep 03, 2008 7:26 pm

Re: lab7 Q6

Postby Michael Wicherski on Wed Oct 29, 2008 4:14 pm

uhm i think you are asking about this section

[quote]The tee command

spell sonnet1 | tee [color=#FF0000]words[/color]

spell poems/Shakespeare/son* | sort | tee [color=#FF0000]words [/color]| wc -l [/quote]

what happens here is first you output only the misspelled words of sonnet1 into the file [color=#FF0000]words[/color]

but then you overwrite the file [color=#FF0000]words [/color]with the tee command in the second command set

so the final [color=#FF0000]words [/color]file should have the misspelled words from all sonnets (son*)
Michael Wicherski
 
Posts: 140
Joined: Mon Sep 01, 2008 5:23 am


Return to CIS 90 - Fall 2008

Who is online

Users browsing this forum: No registered users and 0 guests

cron