[cs615asa] HW5 & HW6

Wenyou Huang whuang12 at stevens.edu
Mon Mar 27 23:10:13 EDT 2017


got it!

On Mon, Mar 27, 2017 at 10:24 PM, Jan Schaumann <jschauma at stevens.edu>
wrote:

> 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
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs615asa
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs615asa/attachments/20170327/beaf4493/attachment.html>


More information about the cs615asa mailing list