diff options
author | Mark Whitley <markw@lineo.com> | 2000-06-28 22:59:30 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2000-06-28 22:59:30 +0000 |
commit | 2e1148b2393b1bcb72804a0c0de1408ca02a0189 (patch) | |
tree | 138f84259f7992af7676fe518670e36d36dd7283 /grep.c | |
parent | 8bd891cbecb41442daab3496647e09575960056d (diff) | |
download | busybox-w32-2e1148b2393b1bcb72804a0c0de1408ca02a0189.tar.gz busybox-w32-2e1148b2393b1bcb72804a0c0de1408ca02a0189.tar.bz2 busybox-w32-2e1148b2393b1bcb72804a0c0de1408ca02a0189.zip |
Fixed comment.
Diffstat (limited to '')
-rw-r--r-- | grep.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -165,8 +165,8 @@ extern int grep_main(int argc, char **argv) | |||
165 | if ((argc-1) - (optind+1) > 0) | 165 | if ((argc-1) - (optind+1) > 0) |
166 | print_filename++; | 166 | print_filename++; |
167 | 167 | ||
168 | /* If no files were specified, take input from stdin. Otherwise, we grep | 168 | /* If no files were specified, or '-' was specified, take input from |
169 | * through all the files specified. */ | 169 | * stdin. Otherwise, we grep through all the files specified. */ |
170 | if (argv[optind+1] == NULL || (strcmp(argv[optind+1], "-") == 0)) { | 170 | if (argv[optind+1] == NULL || (strcmp(argv[optind+1], "-") == 0)) { |
171 | grep_file(stdin); | 171 | grep_file(stdin); |
172 | } else { | 172 | } else { |