diff options
Diffstat (limited to 'usr.bin/expand')
-rw-r--r-- | usr.bin/expand/expand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/expand/expand.c b/usr.bin/expand/expand.c index 9d92f41..37c9464 100644 --- a/usr.bin/expand/expand.c +++ b/usr.bin/expand/expand.c @@ -42,7 +42,7 @@ static char copyright[] = static char sccsid[] = "@(#)expand.c 8.1 (Berkeley) 6/9/93"; #else static const char rcsid[] = - "$Id$"; + "$Id: expand.c,v 1.2 1997/07/01 06:34:31 charnier Exp $"; #endif #endif /* not lint */ @@ -69,7 +69,7 @@ main(argc, argv) register int n; /* handle obsolete syntax */ - while (argc > 1 && argv[1][0] && isdigit(argv[1][1])) { + while (argc > 1 && argv[1][0] == '-' && isdigit(argv[1][1])) { getstops(&argv[1][1]); argc--; argv++; } |