summaryrefslogtreecommitdiff
path: root/share/man/man8
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2006-05-18 18:47:41 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2006-05-18 18:47:41 +0000
commit16c9990288f47177cdf778ef92f314d3edf38715 (patch)
tree23cfb0f16ddab1a93ded50cb94431d7b742db029 /share/man/man8
parentedf1c5659c9591438805aa5a0b5b21b2c27ea8d7 (diff)
correct example awk expression; ok jmc@
Diffstat (limited to 'share/man/man8')
-rw-r--r--share/man/man8/diskless.84
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man8/diskless.8 b/share/man/man8/diskless.8
index 8a7ec0e3dd0..74776f4c162 100644
--- a/share/man/man8/diskless.8
+++ b/share/man/man8/diskless.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: diskless.8,v 1.42 2006/05/18 15:57:02 jmc Exp $
+.\" $OpenBSD: diskless.8,v 1.43 2006/05/18 18:47:40 otto Exp $
.\" $NetBSD: diskless.8,v 1.7.4.1 1996/05/30 18:58:10 cgd Exp $
.\"
.\"
@@ -203,7 +203,7 @@ For example:
The following example converts an IP address to hex:
.Bd -literal -offset indent
$ echo 192.197.96.12 | awk -F . \e
- '{ printf "0x%02x%02x%02x%02x\n", $1, $2, $3 ,$4 }'
+ '{ printf "%02X%02X%02X%02X\en", $1, $2, $3 ,$4 }'
.Ed
.Pp
Some architectures, such as the Sun3 and Ultrasparc machines, do not append the