diff options
| author | Jörg Sommrey <28217714+jo-37@users.noreply.github.com> | 2022-11-29 18:57:52 +0100 |
|---|---|---|
| committer | Jörg Sommrey <28217714+jo-37@users.noreply.github.com> | 2022-12-02 16:38:30 +0100 |
| commit | d7abd3a53ab87053ace9b3b8d8584fc144ce3c5e (patch) | |
| tree | 86c1887b5786dfce14285d57a8690017eb0fbaf5 | |
| parent | b27bbabd19f3774e6bb98dbfc41bc087c38f71a8 (diff) | |
| download | perlweeklychallenge-club-d7abd3a53ab87053ace9b3b8d8584fc144ce3c5e.tar.gz perlweeklychallenge-club-d7abd3a53ab87053ace9b3b8d8584fc144ce3c5e.tar.bz2 perlweeklychallenge-club-d7abd3a53ab87053ace9b3b8d8584fc144ce3c5e.zip | |
Solution to task 1
| -rwxr-xr-x | challenge-193/jo-37/perl/ch-1.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/challenge-193/jo-37/perl/ch-1.sh b/challenge-193/jo-37/perl/ch-1.sh new file mode 100755 index 0000000000..8c0aa93084 --- /dev/null +++ b/challenge-193/jo-37/perl/ch-1.sh @@ -0,0 +1,2 @@ +#!/bin/sh +perl -se 'printf "%0${n}b\n", $_ for 0..2**$n-1' -- -n=$1 |
