Befehle
von wanne- SNIPPET_DESC:
- upgedatedte Befehlsliste
- SNIPPET_CREATION_TIME:
- 12.05.2019 03:52:52
- SNIPPET_PRUNE_TIME:
- Unendlich
- SNIPPET_TEXT:
-
- yes \# |tr -d '\n' | head -c %numcharsHX
- yes \#|tr -d '\n'|dd bs=1 count=%numcharsHX
- echo -n {1..%numcharsHX}"#"|tr -d '[:digit:][:space:]'
- for tt in {1..%numcharsHX};do echo -n '#';done
- perl -e 'print("#" x %numcharsHX)'
- awk 'BEGIN{ while (n++ < %numcharsHX) printf "#" }'
- perl -e 'print "#"x%numcharsHX'
- # Das scheint nicht richtig zu funktionieren...
- # Es werden nur 12288 16384 20480 Zeichen ausgegeben
- #yes \#|tr -d '\n'|dd bs=%numcharsHX count=1
- python3 -c'print("#"*%numcharsHX,end="")'
- gcc -xc -<<<"main(){int i=%numcharsHX;while(i--)putchar('#');}";./a.out
- f=$(mktemp); gcc -w -xc -o$f - <<<$'#include <stdio.h>\nint main() { for (int i = 0; i != %numcharsHX; ++i) { printf(\"#\"); } }'; $f
- gcc -w -O3 -xc -w -<<<"main(){int i=%numcharsHX;while(i--)putchar('#');}";./a.out
- f=$(mktemp); gcc -O3 -xc -w -o$f - <<<$'#include <stdio.h>\nint main() { for (int i = 0; i != %numcharsHX; ++i) { printf(\"#\"); } }'; $f
- echo "s=\"##########\"; for i=1,9 do; s=s .. s; end; for i=1,math.floor(%numcharsHX/5120) do; io.write(s); end; for i=1,math.fmod(%numcharsHX,5120) do; io.write(\"#\"); end " | lua
- echo -e "#include <string.h>\n#include <unistd.h>\n#include <sys/ioctl.h>\n int main(){ int bufflen=10240; char s[bufflen]; memset(s,'#',bufflen); int i=%numcharsHX/bufflen; while(i--) write(1,s,bufflen); i=%numcharsHX%bufflen; while(i--) write(1,s,1); }" | gcc -xc -; ./a.out
Quellcode
Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN