2015年12月7日 星期一

016 creative zip file (linux shell) homework (3&4)

Homework #3 How to print a pascal triangle

Answer:




.sh file (https://github.com/vash-hsu/linux-shell/blob/master/pascal_num.sh)


Reference: http://stackoverflow.com/questions/33290818/pascals-triangle-in-linux-shell-script
Todo: not yet find ways to support basic /bin/sh

Homework #4 How to create a nested zip file in the style of pascal triangle

Answer:




.sh file (https://github.com/vash-hsu/linux-shell/blob/master/pascal_zip.sh)


沒有留言:

張貼留言