Mercurial > repo
view wisdom/`hello @ 11196:e4d1c3903e26
<shachaf> swrjan s/thrice/twice/
author | HackBot |
---|---|
date | Thu, 21 Sep 2017 00:46:21 +0000 |
parents | a63e04458b89 |
children | 2a34e647b1b7 |
line wrap: on
line source
`hello prints variants of hello, world. To control format, pass a single letter as command-line argument. "@"=>"hello, world", "H"=>"hello, world.", P=>"hello, world!", "X"=>"hello, world,", take 1 letter later to s/h/H/, 2 letter later to s/d,/d/, 4 letter later to s/w/W/, lowercase to remove newline.