aboutsummaryrefslogtreecommitdiff
path: root/length.c
blob: 284bbfdf96ac29b40ad69f871ad25b54bed292ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "internal.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

const char			length_usage[] = "length string";

int
length_main(struct FileInfo * i, int argc, char * * argv)
{
	printf("%d\n", strlen(argv[1]));
	return 0;
}