Re: docs/86028: [patch] Add Ruby to the list of interpreters

看板FB_doc作者時間20年前 (2005/09/15 04:46), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串9/9 (看更多)
Josh Paetzel <josh@tcbug.org> writes: > I didn't expect you to look that stuffs up....I'm impressed. :) I wrote this script earlier this morning, which is something like what I did by hand for that reply: #!/bin/ksh -o posix ### Usage: docgrep [ --www | --both ] [grep_options] string DOC=/usr/doc/en_US.ISO8859-1 WWW=/usr/www/en if [ x$1 == x--www ]; then shift find ${WWW} \( -name "*.sgml" -or -name "*.html" \) -print0 | xargs -0 grep -H "$@" elif [ x$1 == x--both ]; then shift $0 "$@" $0 --www "$@" else find ${DOC} -name "*.sgml" -print0 | xargs -0 grep -H "$@" fi ## The End. > At any rate this can be committed then, right? Sorry, I wasn't paying attention to the rest of the message, if any. _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"
文章代碼(AID): #13A8mI00 (FB_doc)
討論串 (同標題文章)
文章代碼(AID): #13A8mI00 (FB_doc)