Skip to content

Mac OS X 10.11: mktemp and date calls fail since they don't use GNU coreutils  #66

@anarchivist

Description

@anarchivist

Trying latest Quack from master. HTML file generation is leading to empty (zero-byte) files. Seeing lots of errors/messages like the following:

My local workaround was to use the coreutils versions installed by Homebrew by editing the scripts to use the executables with the g prefix (e.g. gmktemp and gdate).

curtido:quack matienzo$ ./quack.sh ~/Desktop/in ~/Desktop/out
Using presentation.sh located in /Users/matienzo/Documents/Code/quack
Quack starting at Thu Nov 16 12:42:09 PST 2017
Processing /Users/matienzo/Desktop/innodata_in 12:42:09
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
mktemp: illegal option -- -
usage: mktemp [-d] [-q] [-t prefix] [-u] template ...
       mktemp [-d] [-q] [-u] -t prefix
./quack.sh: line 385: $TMP: ambiguous redirect
./quack.sh: line 386: $TMP: ambiguous redirect
./quack.sh: line 387: $TMP: ambiguous redirect
./quack.sh: line 388: .: filename argument required
.: usage: . filename [arguments]
usage: rm [-f | -i] [-dPRrvW] file ...
       unlink file
Processing /Users/matienzo/Desktop/in/JT405KK9123 12:42:09

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions