fart-it
fart-it copied to clipboard
Allow wildcards
The title should speak for itself. Please allow the use of wildcards in some fashion. While not necessary for my case, it would probably also be nice to be able to backreference that wildcard
For example, I have a list of data like this:
Player 1: 15, 84, 26, true, 5
Player 2: 17, 80, 32, false, 4
Player 3: 19, 76, 38, true, 3
I want to be able to squeeze in a "false" at the second to last value, regardless of what all other values say, so it would come out looking like this:
Player 1: 15, 84, 26, true, false, 5
Player 2: 17, 80, 32, false, false, 4
Player 3: 19, 76, 38, true, false, 3
If wildcards and backreferences are supported, I'd easily be able to use a command like this:
fart.exe data.txt "Player *: *, *, *, *" "Player *, *, *, *, false, *"
Of course, if there will be support for regular expressions, then it can be done through that as well