summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/grep.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-23 07:52:18 +0000
committerderaadt <deraadt@openbsd.org>2003-06-23 07:52:18 +0000
commit621edca7cba22cf7fcd6ae566e50ad74451029f9 (patch)
tree09883a6e74c3f7e7aee7b32858b202e8c60e667f /usr.bin/grep/grep.c
parent- kill exists as a built-in to most shells, not just csh (diff)
downloadwireguard-openbsd-621edca7cba22cf7fcd6ae566e50ad74451029f9.tar.xz
wireguard-openbsd-621edca7cba22cf7fcd6ae566e50ad74451029f9.zip
minor tweaks
Diffstat (limited to 'usr.bin/grep/grep.c')
-rw-r--r--usr.bin/grep/grep.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/grep/grep.c b/usr.bin/grep/grep.c
index 25b7b13103f..ffc333d817b 100644
--- a/usr.bin/grep/grep.c
+++ b/usr.bin/grep/grep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: grep.c,v 1.11 2003/06/23 03:23:40 tedu Exp $ */
+/* $OpenBSD: grep.c,v 1.12 2003/06/23 07:52:18 deraadt Exp $ */
/*-
* Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav
@@ -215,7 +215,8 @@ main(int argc, char *argv[])
if (tmp[0] == '-' && tmp[1] == c && !tmp[2])
Aflag = Bflag = strtol(++tmp, (char **)NULL, 10);
else
- Aflag = Bflag = strtol(argv[optind] + 1, (char **)NULL, 10);
+ Aflag = Bflag = strtol(argv[optind] + 1,
+ (char **)NULL, 10);
break;
case 'A':
Aflag = strtol(optarg, (char **)NULL, 10);