Re: small usr.bin/find patch

2009-06-25 Thread Alexander Best
wow. thanks a bunch for all the great info. Matthew Seaman schrieb am 2009-06-24: > Alexander Best wrote: > > hmmm...but dd e.g. uses lowercase instead of upercase letters to > > indicate > > kilobyte, megabyte and so on. isn't there some unix/posix/whatever > > standard > > telling app developers

Re: small usr.bin/find patch

2009-06-24 Thread Lars Engels
Quoting Alexander Best : hmmm...but dd e.g. uses lowercase instead of upercase letters to indicate kilobyte, megabyte and so on. isn't there some unix/posix/whatever standard telling app developers what to use? Actually thats only BSD's dd. GNU dd only accepts uppercase letters. pgpDWwEavbi

Re: small usr.bin/find patch

2009-06-24 Thread Johan van Selst
Alexander Best wrote: > hmmm...but dd e.g. uses lowercase instead of upercase letters to indicate > kilobyte, megabyte and so on. isn't there some unix/posix/whatever standard > telling app developers what to use? It might be appropriate to use expand_number() here. This is what some other tools d

Re: small usr.bin/find patch

2009-06-24 Thread Matthew Seaman
Alexander Best wrote: > hmmm...but dd e.g. uses lowercase instead of upercase letters to indicate > kilobyte, megabyte and so on. isn't there some unix/posix/whatever standard > telling app developers what to use? Sure. The standard for scale-prefixes is defined by the Systeme Internationale as pa

Re: small usr.bin/find patch

2009-06-24 Thread Alexander Best
hmmm...but dd e.g. uses lowercase instead of upercase letters to indicate kilobyte, megabyte and so on. isn't there some unix/posix/whatever standard telling app developers what to use? Wojciech Puchar schrieb am 2009-06-17: > >>cheers. > >Are you sure this is wise? after all 125 millibytes wou

Re: small usr.bin/find patch

2009-06-17 Thread Ilya Orehov
+--- Julian Elischer, 2009-06-17 --- | Alexander Best wrote: | >hi everybody, | > | >here's just a quick hack i applied to find. i very often use the -size | >switch | >and always forget if you need to append "m" or "M" for megabyte or "k" or | >"K" | >for kilobyte. after applying the pat

Re: small usr.bin/find patch

2009-06-17 Thread Wojciech Puchar
cheers. Are you sure this is wise? after all 125 millibytes would be 1 bit.. Agree. While lots of people use m instead of M and b instead of B, this is not right to correct proper behavior to improper just for them. ___ freebsd-hackers@freebsd.or

Re: small usr.bin/find patch

2009-06-17 Thread Julian Elischer
Alexander Best wrote: hi everybody, here's just a quick hack i applied to find. i very often use the -size switch and always forget if you need to append "m" or "M" for megabyte or "k" or "K" for kilobyte. after applying the patch find accepts both. ;-) cheers. Are you sure this is wise? aft

small usr.bin/find patch

2009-06-17 Thread Alexander Best
hi everybody, here's just a quick hack i applied to find. i very often use the -size switch and always forget if you need to append "m" or "M" for megabyte or "k" or "K" for kilobyte. after applying the patch find accepts both. ;-) cheers. findpatch Description: Binary data