Last active
February 15, 2017 05:12
-
-
Save kuwa72/2ee15cb45a6a857873e0c097dce60d3f to your computer and use it in GitHub Desktop.
Emacsシェル芸サンプル(27回Q1)https://blog.ueda.asia/?p=9309
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
echo abcdefghijklmn | emacs -Q --batch --insert /dev/stdin --eval '(progn (while (re-search-forward "\\(.\\)\\(.\\)" nil t) (replace-match (concat "\\1" (capitalize (match-string 2))) nil nil))(princ (buffer-string)))' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment