Skip to main content

Timeline for Tips for golfing in Bash

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Jun 2, 2017 at 15:54 history edited Gilles 'SO- stop being evil' CC BY-SA 3.0
added 252 characters in body
Apr 13, 2017 at 12:39 history edited CommunityBot
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Aug 22, 2016 at 11:20 history edited Toby Speight CC BY-SA 3.0
Make SE links protocol-independent
Dec 23, 2015 at 20:21 comment added mikeserv its especiallly useful w/ for since it defaults to positionals:f()for x do : $x; done;set -x *;PS4=$* f "$@" or something.
Jul 22, 2015 at 3:44 history edited Dennis CC BY-SA 3.0
deleted 3 characters in body
Feb 20, 2015 at 2:55 history wiki removed Doorknob
Nov 7, 2014 at 16:09 history edited Dennis CC BY-SA 3.0
added 875 characters in body
Nov 7, 2014 at 15:50 comment added kernigh This one surprised me because I thought f()CODE was legal. It turns out that f()echo hi is legal in pdksh and zsh, but not in bash.
Nov 7, 2014 at 6:13 comment added jimmy23013 Note that you can also use f()while ... f()if ... and other compound commands.
Nov 7, 2014 at 3:40 history answered Dennis CC BY-SA 3.0