CS 3343/3341 Analysis of Algorithms Fall 2012 |
Submission of
Recitations |
% ~wagner/bin/cs3343r1 < rec1.txt |
% cat rec0.txt # showing the file rec0.txt Wagner, Ned, CS 3343, Recitation 0. What you have made me see is as plain as the sky, but I never saw it before. Yet it has happened every day. One goes into the forest to pick food and already the thought of one fruit rather than another has grown up in one's mind. Then, it may be, one finds a different fruit and not the fruit one thought of. One joy was expected and another is given. But this I had never noticed before -- that the very moment of the finding there is in the mind a kind of thrusting back, or setting aside. The picture of the fruit you have _not_ found is still, for a moment, before you. And if you wished -- if it were possible to wish -- you could keep it there. You could send your soul after the good you had expected, instead of turning it to the good you had got. You could refuse the real good; you could make the real fruit taste insipid by thinking of the other. -- C.S. Lewis, Perelandra, 1944 % whoami # showing your account name nwagner % ~wagner/bin/cs3343r0 < rec0.txt # submitting recitation # this is the reply from my program CS 3343, Analysis of Algorithms, Spring 2012 Processing Recitation Number 0 Submission Date/Time: Tue Jan 3 21:09:25 2012 Full Credit Date/Time: Mon Jan 16 23:59:59 2012 Part Credit Date/Time: Fri Jan 20 23:59:59 2012 Received and archived for FULL CREDIT 475 bytes and 9 lines received. The received file has been emailed to you for confirmation. % mailx # read mail (old-fashioned mail utility) "/var/mail//nrwagner": 1 message 1 new >N 1 Ned Wagner St Tue Jan 3 21:09 34/1319 ? 1 # message number 1, the email my program sent you Message 1: From nwagner@cs.utsa.edu Tue Jan 3 21:09:26 2012 Return-Path: <nwagner@cs.utsa.edu> X-Original-To: nwagner@cs.utsa.edu Delivered-To: nwagner@cs.utsa.edu From: "Ned Wagner Student Account" <nwagner@cs.utsa.edu> Date: Tue, 03 Jan 2012 21:09:25 -0600 To: nwagner@cs.utsa.edu User-Agent: Heirloom mailx 12.4pre 6/29/08 Content-Type: text/plain; charset=us-ascii Status: R Submitted by: nwagner@cs.utsa.edu Course: CS 3343, Spring 2012, Recitation 0 Time Received: Tue Jan 3 21:09:25 2012 Credit: FULL Wagner, Ned, CS 3343, Recitation 0. What you have made me see is as plain as the sky, but I never saw it before. . . . (same as above) . . . -- C.S. Lewis, Perelandra, 1944 ? d # delete mail message ? q # quit mailx % |
% ssh username@elk04.cs.utsa.eduwhere % is the Unix prompt, username is your account name, and elk04 can to be replaced by one of the other CS client machines, such as elk01 to elk07. I have prepared a page illustrating the use of ssh from a remote Linux or Mac machine: remote access using ssh. At this point you can submit as in item 1 above, but you may still need to go through a step to get the file you want to access into the CS network. The same page above, remote transfers using sftp, also shows how to use sftp, the secure file transfer program, to transfer files to (and from) UTSA. There is yet another way to get a file rec0.txt, currrently in the Windows environment at UTSA, into the Linux environment at UTSA. Just save rec0.txt somewhere on the "Z" drive of the Windows machine. (This only for Windows at UTSA)
% cat rec1_part1.txt rec1.java rec1.output rec1_part2.txt > rec1.txtNormally, however, you would want to do the concatenation inside an editor, identifying each separate file and providing some kind of line of characters separating different parts. I recognize that it will sometimes be annoying to write answers to recitation requirements as a text file, particularly for mathematical formula. You should not worry about making these answers particularly neat.
neal.wagner@gmail.com or even at (less desirable) wagner@cs.utsa.eduPlease try to do this as seldom as possible. The same deadlines will apply, based on the timestamp on the email. If there is some long delay between sending an email and its receipt, I'll deal with that in a fair way. Please do not send any attachments at all, particularly not WORD attachments. (Just paste your rec?.txt file in along with your message.)