Commit Graph

187 Commits

Author SHA1 Message Date
John Beppu
af9e533a54 - properly indent Examples section in pod generator 2001-03-15 20:49:25 +00:00
Eric Andersen
0d3a02eba7 Update the documentation so examples are autoincluded in the output text.
Fix up docs/busybox.pod with the latest autogenerated output.
 -Erik
2001-03-15 18:14:25 +00:00
Mark Whitley
7ddaf7caae Added a section to describe how to convert variables to K&R style using the
mk2knr.pl script. Also some minor cleanups.
2001-03-14 21:04:53 +00:00
Mark Whitley
798ab301c7 Added Midori Linux to the list of known projects that use Busybox. 2001-03-13 17:08:54 +00:00
Mark Whitley
e0bf91d7c6 Applied patch from Christophe Boyanique to add -i support to rm. 2001-03-13 00:40:19 +00:00
Mark Whitley
6c563bc1a1 Thought of another janitorial item for the list. 2001-03-06 23:16:13 +00:00
John Beppu
138ece09b5 minor cleanup 2001-03-06 19:25:25 +00:00
Eric Andersen
5efa2291aa Fix up the freshmeat appindex record. 2001-03-05 18:26:50 +00:00
Mark Whitley
9ead68975c Added some words on use of getopt in applets. 2001-03-03 00:44:55 +00:00
Mark Whitley
42ab250709 Removed section on testing that is now in contributing.txt. 2001-03-02 19:15:01 +00:00
Mark Whitley
3b565cdf91 Added 'How to contribute to Busybox' doc. 2001-03-02 19:14:25 +00:00
John Beppu
d11578f916 - changed the way POD is generated such that the dashed
line appears at the bottom instead of the top.  The
  indentation semantics of POD make the first item in
  the (=over,=back) block look weird the other way.
- implemented a way to encode example usage into usage.h
  One would define a macro called "${applet}_example_usage"
  which would expand to the example text.
- The example usage is considered optional, but trivial and
  full usage are not.

  Here's an example using chown.

---- before

#define chown_trivial_usage \
	"[OPTION]...  OWNER[<.|:>[GROUP] FILE..."
#define chown_full_usage \
	"Change the owner and/or group of each FILE to OWNER and/or GROUP.\n" \
	"\nOptions:\n" \
	"\t-R\tChanges files and directories recursively."
#define chown_example_usage \
	"\t$ ls -l /tmp/foo\n" \
	"\t-r--r--r--    1 andersen andersen        0 Apr 12 18:25 /tmp/foo\n" \
	"\t$ chown root /tmp/foo\n" \
	"\t$ ls -l /tmp/foo\n" \
	"\t-r--r--r--    1 root     andersen        0 Apr 12 18:25 /tmp/foo\n" \
	"\t$ chown root.root /tmp/foo\n" \
	"\tls -l /tmp/foo\n" \
	"\t-r--r--r--    1 root     root            0 Apr 12 18:25 /tmp/foo\n"

---- after

=item I<chown>

chown [OPTION]...  OWNER[<.|:>[GROUP] FILE...

Change the owner and/or group of each FILE to OWNER and/or GROUP.

Options:

	-R	Changes files and directories recursively.

Example:

	$ ls -l /tmp/foo
	-r--r--r--    1 andersen andersen        0 Apr 12 18:25 /tmp/foo
	$ chown root /tmp/foo
	$ ls -l /tmp/foo
	-r--r--r--    1 root     andersen        0 Apr 12 18:25 /tmp/foo
	$ chown root.root /tmp/foo
	ls -l /tmp/foo
	-r--r--r--    1 root     root            0 Apr 12 18:25 /tmp/foo


-------------------------------
2001-02-26 02:50:11 +00:00
John Beppu
37977622c4 ... 2001-02-24 14:44:25 +00:00
John Beppu
7d597c4833 refinement 2001-02-24 14:37:48 +00:00
John Beppu
dbfff6cbde formatting ... 2001-02-23 17:55:03 +00:00
John Beppu
e6967b20cb Added some documentation and made --sgml use sgml_from_usage().
pod_from_usage() is the default generator.
2001-02-23 17:51:08 +00:00
John Beppu
8373e70c55 During POD generation, it inserts a blank line before lines
that were intended to be indented.
2001-02-23 17:41:41 +00:00
John Beppu
15f9b92127 forgot to remove some debugging noise 2001-02-23 16:16:08 +00:00
John Beppu
df1e9daf30 This one should be able to deal with the USAGE macros a little
more robustly.  I also blow away any USAGE_NOT_\w+ macros.
2001-02-23 16:15:34 +00:00
John Beppu
2498b155fd forgot a comma. 2001-02-23 13:04:39 +00:00
John Beppu
b249fbb1dc I can't leave it alone. 2001-02-23 03:12:45 +00:00
John Beppu
8c16bc5012 minor cleanup... all that's left to do is
* make headers and footers for both the POD and SGML content
* make an SGML generator
* finish the command-line handling

Also, some of the documentation in usage.h will have to
be adjusted.  expr needs some lines to be indented, and
ls has a stray comma.  I may have missed some things...
but it looks OK for the most part.
2001-02-23 02:54:31 +00:00
John Beppu
4a25d8c9c3 This is the remixed autodocufier.pl. 2001-02-23 02:33:28 +00:00
Eric Andersen
e13bc0bc68 First pass at making up an automagical usage message extractor, which
will be used (when it works) to autogenerate documentation.  Based on
code written by Mark Whitley.
2001-02-22 22:47:06 +00:00
Matt Kraai
e78fd0f721 Fix typo. 2001-02-09 18:10:53 +00:00
Mark Whitley
d238a7bcc8 Minor cleanups and clarifications. 2001-02-09 00:28:59 +00:00
Matt Kraai
1d70267450 Add listening support. 2001-02-07 04:09:23 +00:00
Matt Kraai
df8ccb6350 Added documentation for new find options. 2001-02-07 04:05:35 +00:00
Mark Whitley
925edb828d Added some more on paren spacing and a section on testing guidelines. 2001-02-03 00:20:14 +00:00
Mark Whitley
63ec273245 Added floppyfw to list of known projects using BusyBox. 2001-01-31 18:33:20 +00:00
Eric Andersen
39573f7130 Wrap a table (bg set to black, width=80%) around the screenshot
so it doesn't look like crap in Netscape.  Should look fine in
Mozilla either way.  I think.
 -Erik
2001-01-31 17:14:17 +00:00
Matt Kraai
18d5064c47 Make it validate. 2001-01-31 02:13:05 +00:00
Matt Kraai
9ba0daf4ba Close IMG tag. 2001-01-31 01:59:46 +00:00
Mark Whitley
ac21e93a3f Added a new screenshot of Busybox. :-) 2001-01-30 23:37:15 +00:00
Eric Andersen
8ec10a9483 Fix up copyright msgs. Bump version to 0.49 in preparation for
a release.  Update the website with release details.
 -Erik
2001-01-27 09:33:39 +00:00
Eric Andersen
d35c21587a Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.
-Erik
2001-01-25 23:49:09 +00:00
Eric Andersen
ffde8673fe Add in spoon's watchdog timer app.
-Erik
2001-01-25 23:40:32 +00:00
Mark Whitley
8ba1b1120e Because you demanded it, source tree snapshots are made available daily. 2001-01-25 23:29:58 +00:00
Mark Whitley
0bc20caea5 Added Linux on nanoEngine to the list of known users. 2001-01-25 23:00:12 +00:00
Eric Andersen
537d165216 Update contact info. 2001-01-25 22:00:37 +00:00
Eric Andersen
c1b8f1224c Apply a patch from Brent Priddy <brent.priddy@adtran.com> to add
'id -n' support.
 -Erik
2001-01-25 05:12:02 +00:00
Eric Andersen
8c5cb31e1b Fix up insmod usage info to mention -L 2001-01-24 19:15:07 +00:00
Mark Whitley
a5b55ca8a9 - Added a section on avoiding static buffers, per mailing list discussions
- Added a section on avoiding dangerous, overrun-prone string functions, per
   mailing list comment by David Douthitt
 - Added comment on how to search-and-replace in multiple files per (very old)
   mailing list comment by Larry Doolittle.
2001-01-24 00:18:13 +00:00
Glenn L McGrath
fa0443216d Add dpkg-deb documentation 2001-01-03 01:06:30 +00:00
Matt Kraai
004827d715 Update logger usage information. 2001-01-02 22:54:12 +00:00
Mark Whitley
3680c58084 Some corrections, some additions, some embellishments. 2000-12-20 22:35:12 +00:00
Mark Whitley
8eb5985f94 More spelling fixes from Larry Doolittle. 2000-12-19 19:44:35 +00:00
Mark Whitley
8a6b619c96 Added a paragraph from Larry Dolittle, made some more section headers. 2000-12-19 17:54:38 +00:00
Mark Whitley
eac2636513 New applet HOWTO. Written by Matt Kraai with some formating and additions by me. 2000-12-19 17:35:24 +00:00
Eric Andersen
0d2acb0ead Doc update from Matt Kraai, better describing the init process. 2000-12-18 20:36:02 +00:00