hroptatyr / dateutils

nifty command line date and time utilities; fast date calculations and conversion in the shell
http://www.fresse.org/dateutils/
Other
618 stars 42 forks source link

-q, --quiet also suppresses exit status #137

Open Earnestly opened 2 years ago

Earnestly commented 2 years ago

I've been trying to use strptime and dateconv like I might grep -q but when -q is used the exit status is 0 for matches that would otherwise fail.

Current workaround is to redirect stderr and stdout to /dev/null

hroptatyr commented 2 years ago

Hi, thanks for the report. This is such a major change of behaviour that I cannot possibly implement it.