[cs615asa] HW5 & HW6
Jan Schaumann
jschauma at stevens.edu
Mon Mar 27 22:24:34 EDT 2017
Here are the links to the homework assignments:
https://www.cs.stevens.edu/~jschauma/615/s17-hw5.html
https://www.cs.stevens.edu/~jschauma/615/s17-hw6.html
For HW6, the group determination was done using an illustration of the
use of the common unix tools:
Given a directory containing files named after all enrolled students, we
calculate the sha256 hash of the user, sort the output alphanumerically
by hash, then group two results each:
$ for u in *; do
> sum=$(echo $u | openssl dgst -sha256)
> echo "$sum $u"
> done | sort | awk '{print $NF};!(NR%2){ print ""; }'
efitzpa1
aliang
yli142
jwu29
tluo4
cwang60
lhe16
mwilson3
exia
txie4
batkinso
snunes
tyang8
jdolisca
szhong2
xbai6
ffei1
whuang12
hzhang52
yjiang23
Please make sure to get in touch with your partner.
-Jan
More information about the cs615asa
mailing list