Posts: 1,871
Threads: 84
Joined: Jul 2011
Re: Minifig guide?
2014-08-17, 4:28
Probably. I definitely have [ \t] in a number of sed and grep regular expressions. I'll replace the \t in those with the actual tab character and rerun the script, then compare the results.
Michael, it's generated with a bash script that I run on my Mac. It contains hard-coded paths that would have to be edited for anyone else to run it, and it may rely on Mac-specific command line tools. For example, it uses sips to determine the size of a given image, and while this is a standard tool on the Mac, I don't know if it's standard on other *nix flavors. (The sips man page identifies it as a BSD command, so there is some hope.)
If anyone wants the script, I'd be happy to provide it to them, but I should warn people that bash scripting is not my forte, and this script is 559 lines long, so it's not some tiny little thing that you can look at and immediately understand.