Created
February 15, 2017 05:11
-
-
Save kuwa72/ac0c921111bb857e68476dd8c4e3c214 to your computer and use it in GitHub Desktop.
Emacsシェル芸サンプル(27回Q6) https://blog.ueda.asia/?p=9309
This file contains 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
echo 1 | emacs -Q --batch --insert /dev/stdin --eval '(let ((bs (substring (buffer-string) 0 1))) (defun x (i s) (if (< i 10) (progn (princ (concat s "\n"))(x (+ i 1) (concat s bs))))) (x 0 bs) )' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment