[BusyBox-cvs] busybox/include applets.h,1.94,1.95 usage.h,1.147,1.148

Glenn McGrath bug1 at busybox.net
Sun Apr 27 06:02:18 UTC 2003


Update of /var/cvs/busybox/include
In directory winder:/tmp/cvs-serv12403/include

Modified Files:
	applets.h usage.h 
Log Message:
New applet, fold


Index: applets.h
===================================================================
RCS file: /var/cvs/busybox/include/applets.h,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- applets.h	27 Apr 2003 02:43:54 -0000	1.94
+++ applets.h	27 Apr 2003 06:02:14 -0000	1.95
@@ -202,6 +202,9 @@
 #ifdef CONFIG_FIND
 	APPLET(find, find_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
 #endif
+#ifdef CONFIG_FOLD
+	APPLET(fold, fold_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
 #ifdef CONFIG_FREE
 	APPLET(free, free_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
 #endif

Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -d -r1.147 -r1.148
--- usage.h	19 Mar 2003 18:40:42 -0000	1.147
+++ usage.h	27 Apr 2003 06:02:14 -0000	1.148
@@ -627,6 +627,16 @@
 	"$ find / -name /etc/passwd\n" \
 	"/etc/passwd\n"
 
+#define fold_trivial_usage \
+	"[bsw] [FILE]"
+#define fold_full_usage \
+	"Wrap input lines in each FILE (standard input by default), writing to\n" \
+	"standard output.\n\n" \
+	"Options:\n" \
+	"\t-b\tcount bytes rather than columns\n" \
+	"\t-s\tbreak at spaces\n" \
+	"\t-w\tuse WIDTH columns instead of 80\n"
+
 #define free_trivial_usage \
 	""
 #define free_full_usage \



More information about the busybox-cvs mailing list