From cc8ed39b240180b58810784f844e253263594ac3 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 5 Oct 1999 16:24:54 +0000 Subject: Initial revision --- length.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 length.c (limited to 'length.c') diff --git a/length.c b/length.c new file mode 100644 index 000000000..284bbfdf9 --- /dev/null +++ b/length.c @@ -0,0 +1,13 @@ +#include "internal.h" +#include +#include +#include + +const char length_usage[] = "length string"; + +int +length_main(struct FileInfo * i, int argc, char * * argv) +{ + printf("%d\n", strlen(argv[1])); + return 0; +} -- cgit v1.2.3