{"push_id":856761980,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"7af4a70d8386dc8b0a2b14d07b2de1781c17711e","before":"1eeb5fb9ad68d577fd65a8b66a595420ea8eeb67","commits":[{"sha":"7af4a70d8386dc8b0a2b14d07b2de1781c17711e","author":{"email":"fde4f705f332c7373508b6ab2ff9d1d68ebac244@users.noreply.github.com","name":"Alan Burgoyne"},"message":"Switch to bash builtin string manipulation\n\nFrom http://tldp.org/LDP/abs/html/string-manipulation.html:\r\n\r\n`${string/%substring/replacement}`\r\nIf `$substring` matches back end of `$string`, substitute `$replacement` for `$substring`.\r\n\r\n```\r\n$ stringZ=abcABC123ABCabc\r\n\r\n# Replace front-end match of 'abc' with 'XYZ'.\r\n$ echo ${stringZ/#abc/XYZ}\r\nXYZABC123ABCabc\r\n\r\n# Replaces back-end match of 'abc' with 'XYZ'.\r\n$ echo ${stringZ/%abc/XYZ}\r\nabcABC123ABCXYZ\r\n```","distinct":true,"url":"https://api.github.com/repos/donkeybanana/less-watch/commits/7af4a70d8386dc8b0a2b14d07b2de1781c17711e"}]}