summaryrefslogtreecommitdiff
path: root/sys/src/cmd/crop.c
AgeCommit message (Collapse)Author
2021-04-12crop: allow no-ops for pipelinesqwx
unlike other tools like iconv(1), a crop(1) without arguments or with ones resulting in a no-op, like `-t 0 0', errors out. other options like `-i 0' do not error. this breaks assumptions and results in tedious intermediary steps or hacks like: foo | {crop -t $1 $2 >[2]/null || cat} > baz.bit instead, just ignore the check. subsequent code doesn't make assumptions on that.
2015-08-03crop: use strtol() instead of atoi()cinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen