Last active
December 2, 2025 12:06
-
-
Save cgsdev0/d0ce5f6ff6f625f2f8086e31f45fba6e to your computer and use it in GitHub Desktop.
one to one hundred
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #/usr/bin/env bash | |
| # solution for https://chrzanowski.me/blog_0003.html | |
| seq $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $(echo $BASH_SUBSHELL)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdlib.h> | |
| #include <stdio.h> | |
| int main() { | |
| char b['d'] = "hello world! \ | |
| this is my little counting \ | |
| program that doesn't use numbers. \ | |
| hope you enjoy it :D", *c = b; | |
| while(*c++) printf("%ld\n", c-b); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ++++++++++++++++++++++++++++++++++++++++++++++++>+++++++++++++++++++++++++++++++ | |
| +++++++++++++++++>++++++++++>---------->----------[+<[+<<.<.+>>.>]----------<<<- | |
| --------->+>>>]<<<<+.-.. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| eval "exec $LINENO>&-" | |
| r() { echo $((++i)); r; } | |
| # hold... | |
| # wait for it... | |
| # almost there! | |
| FUNCNEST=$LINENO r |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # surely nobody would change their readline config... | |
| seq $(bind -V | grep qu | tr -cd '[:digit:]') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # credit to twitch.tv/meisaka | |
| ! ;seq $?$#$# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # probably only works on specific versions of bash 5.3 | |
| # "works on my machine" | |
| seq ${ : ${BASH_VERSION//*\(/} && echo ${_//\)*/}; } $_$((BASHPID-BASHPID))$BASH_ARGC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # quick maths | |
| set -- {a..z}; / || seq $(($?-$#)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is cursed, thanks