"cheat" command is a command to show cheatsheets for the command line just like tar, find, git and so on. But cheat does not have the cheatsheet for "for" command yet. So I add "for" plugin and create pull request on New Year's day.
Just execute this.
$ cheat for # basic loop for i in 1 2 3 4 5 6 7 8 9 10 do echo $i done # loop ls command results for var in `ls -alF` do echo $var done # loop specified number of times for i in `seq 1 10` do echo $i done
cheat command is for developers who rarely using the command, so I always forget usage of for, if and test, etc... https://t.co/ty71kh4dgY— shigemk2 (@shigemk2) 2015, 12月 26
I think this PR is along for the purpose for "cheat" command.