Date: Wed, 17 Jun 2009 20:55:49 +0200 (CEST) From: Alexander Best <alexbestms@math.uni-muenster.de> To: <freebsd-hackers@freebsd.org> Subject: small usr.bin/find patch Message-ID: <permail-200906171855491e86ffa800003434-a_best01@message-id.uni-muenster.de>
next in thread | raw e-mail | index | archive | help
This is a MIME encoded multipart message. --+permail-200906171855491e86ffa800003434-a_best01+ Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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. --+permail-200906171855491e86ffa800003434-a_best01+ Content-Type: application/octet-stream Content-Transfer-Encoding: Base64 Content-Disposition: attachment; filename="findpatch" LS0tIHVzci5iaW4vZmluZC9mdW5jdGlvbi5jCTIwMDktMDYtMTcgMjA6Mzk6MjcuMDAwMDAwMDAw ICswMjAwCisrKyB1c3IuYmluL2ZpbmQvZnVuY3Rpb24uYwkyMDA5LTA2LTE3IDIwOjQxOjA5LjAw MDAwMDAwMCArMDIwMApAQCAtMTQzMywyMiArMTQzMywyOCBAQAogCQlkaXZzaXplID0gMDsKIAog CQlzd2l0Y2ggKGVuZGNoKSB7Ci0JCWNhc2UgJ2MnOiAgICAgICAgICAgICAgICAgICAgICAgLyog Y2hhcmFjdGVycyAqLworCQljYXNlICdDJzogICAgICAgICAgICAgICAgICAgICAgIC8qIGNoYXJh Y3RlcnMgKi8KKwkJY2FzZSAnYyc6CiAJCQlzY2FsZSA9IDB4MUxMOwogCQkJYnJlYWs7Ci0JCWNh c2UgJ2snOiAgICAgICAgICAgICAgICAgICAgICAgLyoga2lsb2J5dGVzIDE8PDEwICovCisJCWNh c2UgJ0snOiAgICAgICAgICAgICAgICAgICAgICAgLyoga2lsb2J5dGVzIDE8PDEwICovCisJCWNh c2UgJ2snOgogCQkJc2NhbGUgPSAweDQwMExMOwogCQkJYnJlYWs7CiAJCWNhc2UgJ00nOiAgICAg ICAgICAgICAgICAgICAgICAgLyogbWVnYWJ5dGVzIDE8PDIwICovCisJCWNhc2UgJ20nOgogCQkJ c2NhbGUgPSAweDEwMDAwMExMOwogCQkJYnJlYWs7CiAJCWNhc2UgJ0cnOiAgICAgICAgICAgICAg ICAgICAgICAgLyogZ2lnYWJ5dGVzIDE8PDMwICovCisJCWNhc2UgJ2cnOgogCQkJc2NhbGUgPSAw eDQwMDAwMDAwTEw7CiAJCQlicmVhazsKIAkJY2FzZSAnVCc6ICAgICAgICAgICAgICAgICAgICAg ICAvKiB0ZXJhYnl0ZXMgMTw8NDAgKi8KKwkJY2FzZSAndCc6CiAJCQlzY2FsZSA9IDB4MTAwMDAw MDAwMExMOwogCQkJYnJlYWs7CiAJCWNhc2UgJ1AnOiAgICAgICAgICAgICAgICAgICAgICAgLyog cGV0YWJ5dGVzIDE8PDUwICovCisJCWNhc2UgJ3AnOgogCQkJc2NhbGUgPSAweDQwMDAwMDAwMDAw MDBMTDsKIAkJCWJyZWFrOwogCQlkZWZhdWx0Ogo= --+permail-200906171855491e86ffa800003434-a_best01+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-200906171855491e86ffa800003434-a_best01>