Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Power-set/UNIX-Shell/power-set-1.sh
Normal file
1
Task/Power-set/UNIX-Shell/power-set-1.sh
Normal file
|
|
@ -0,0 +1 @@
|
|||
p() { [ $# -eq 0 ] && echo || (shift; p "$@") | while read r ; do echo -e "$1 $r\n$r"; done }
|
||||
5
Task/Power-set/UNIX-Shell/power-set-2.sh
Normal file
5
Task/Power-set/UNIX-Shell/power-set-2.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|p `cat` | sort | uniq
|
||||
A
|
||||
C
|
||||
E
|
||||
^D
|
||||
Loading…
Add table
Add a link
Reference in a new issue