itchyny
itchyny
Related issue: #2148
If you want to pad string to make the result have the expected length, `def lpad(string; len; fill): fill * (len - (string|length)) + string;` (or `def lpad(len; fill): fill...
By the way what's the difference of `($str * $l)[:$l]` and `($str * $l)`?
Ahhhh, sorry, ignore my comment! It is different when `($str | length) != 1` as pkoppstein already commented out. Sorry.
By the way it doesn't work for multi-width characters, if you really want to pad spaces to strings to make them fit to a fixed width in terminals (wrap text...
I think this is an issue about `%f` support which jq-1.6 does not support. ``` % echo '"2015-03-05T23:51:47.487Z"' | jq 'strptime("%Y-%m-%dT%H:%M:%S.%fZ")' jq: error (at :1): date "2015-03-05T23:51:47.487Z" does not match...
This is a frequently asked question (#545 #1652 #1959 #2109 #2131 #2182 #2201) and is already fixed in the master version (implemented by #1752 in Oct, 2019). ``` $ jq...
Issue: #1912.
#1898, #1962
It's natural that we can't expect correct behavior with piping against [tty](https://google.com/search?q=tty+device) output. Don't use `-t` flag of docker when you use pipe from its output. This behavior is not...