gnu-pricing icon indicating copy to clipboard operation
gnu-pricing copied to clipboard

Allow pricing on all commands by not using any at the beginning of gnu-pricing.sh

Open durka opened this issue 9 years ago • 1 comments

This PR replaces all use of expensive GNU tools at the beginning of pricing.sh (i.e. before dirname $THISDIR+$0.01 has been removed from $PATH) with cost-effective bashisms. Then we can correctly charge for use of echo, sed, dirname, and pwd. Tested only with bash 4.2.37.

durka avatar May 13 '15 01:05 durka

This causes git rebase -i to print an error:

sed: -e expression #3, char 2: unterminated `s' command

I am going to push another commit that removes $ARGS, because it seems that's what causes the problem.

durka avatar May 13 '15 01:05 durka