diff options
author | markw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-06-28 22:59:30 +0000 |
---|---|---|
committer | markw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-06-28 22:59:30 +0000 |
commit | 8b19b59288c1fca6927a519e6db3f6df09cd3c80 (patch) | |
tree | 138f84259f7992af7676fe518670e36d36dd7283 | |
parent | 8d071d5c2813d7ff6ab405b7d77fdc9476246e88 (diff) | |
download | busybox-w32-8b19b59288c1fca6927a519e6db3f6df09cd3c80.tar.gz busybox-w32-8b19b59288c1fca6927a519e6db3f6df09cd3c80.tar.bz2 busybox-w32-8b19b59288c1fca6927a519e6db3f6df09cd3c80.zip |
Fixed comment.
git-svn-id: svn://busybox.net/trunk/busybox@724 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | findutils/grep.c | 4 | ||||
-rw-r--r-- | grep.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/findutils/grep.c b/findutils/grep.c index ac55f19d1..a2e2ff813 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -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 { |
@@ -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 { |