[BusyBox-cvs] busybox/include usage.h, 1.186, 1.187 applets.h, 1.110, 1.111

Glenn McGrath bug1 at busybox.net
Tue Jan 27 09:22:22 UTC 2004


Update of /var/cvs/busybox/include
In directory nail:/tmp/cvs-serv9911/include

Modified Files:
	usage.h applets.h 
Log Message:
New applet, seq. No options, just the basics.


Index: applets.h
===================================================================
RCS file: /var/cvs/busybox/include/applets.h,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- applets.h	24 Dec 2003 06:02:10 -0000	1.110
+++ applets.h	27 Jan 2004 09:22:20 -0000	1.111
@@ -508,6 +508,9 @@
 #ifdef CONFIG_SED
 	APPLET(sed, sed_main, _BB_DIR_BIN, _BB_SUID_NEVER)
 #endif
+#ifdef CONFIG_SEQ
+	APPLET(seq, seq_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
+#endif
 #ifdef CONFIG_SETKEYCODES
 	APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
 #endif
@@ -682,4 +685,3 @@
 };
 
 #endif
-

Index: usage.h
===================================================================
RCS file: /var/cvs/busybox/include/usage.h,v
retrieving revision 1.186
retrieving revision 1.187
diff -u -d -r1.186 -r1.187
--- usage.h	15 Jan 2004 11:50:19 -0000	1.186
+++ usage.h	27 Jan 2004 09:22:19 -0000	1.187
@@ -2094,6 +2094,16 @@
 	"$ echo "foo" | sed -e 's/f[a-zA-Z]o/bar/g'\n" \
 	"bar\n"
 
+#define seq_trivial_usage \
+	"[first [increment]] last"
+#define seq_full_usage \
+	"Print numbers from FIRST to LAST, in steps of INCREMENT.\n" \
+	"FIRST, INCREMENT default to 1\n" \
+	"Arguments:\n" \
+	"\tLAST\n" \
+	"\tFIRST\tLAST\n" \
+	"\tFIRST\tINCREMENT\tLAST\n"
+
 #define setkeycodes_trivial_usage \
 	"SCANCODE KEYCODE ..."
 #define setkeycodes_full_usage \




More information about the busybox-cvs mailing list