diff toys/toylist.h @ 100:c3d1d74d5d8f

MacOS X has a defective sed with no -r.
author Rob Landley <rob@landley.net>
date Tue, 13 Feb 2007 16:41:51 -0500
parents 97d717829ff0
children 1c2f6d2e25de
line wrap: on
line diff
--- a/toys/toylist.h	Mon Feb 12 20:03:01 2007 -0500
+++ b/toys/toylist.h	Tue Feb 13 16:41:51 2007 -0500
@@ -31,6 +31,12 @@
 	struct dirtree *dt;
 };
 
+struct touch_data {
+	char *ref_file;
+	char *time;
+	long length;
+};
+
 // "E:jJ:L:m:O:"
 #define MKE2FS_OPTSTRING "<1>2Fnqm#N#i#b#"
 
@@ -75,6 +81,7 @@
 USE_ONEIT(NEWTOY(oneit, "+p<1", TOYFLAG_SBIN))
 USE_PWD(NEWTOY(pwd, NULL, TOYFLAG_BIN))
 USE_TOYSH(OLDTOY(sh, toysh, "c:i", TOYFLAG_BIN))
+USE_TOUCH(NEWTOY(touch, "l#t:r:mca", TOYFLAG_BIN))
 USE_TOYSH(NEWTOY(toysh, "c:i", TOYFLAG_BIN))
 USE_WHICH(NEWTOY(which, "a", TOYFLAG_USR|TOYFLAG_BIN))
 USE_YES(NEWTOY(yes, "", TOYFLAG_USR|TOYFLAG_BIN))