]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
sched_setaffinity.2: tfix in example shell session (s/grep/egrep)
authorMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 25 Feb 2019 15:01:28 +0000 (16:01 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 25 Feb 2019 15:01:28 +0000 (16:01 +0100)
Reported-by: Bernd Petrovitsch <bernd@petrovitsch.priv.at>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/sched_setaffinity.2

index 7d4096437a74c2455b386c29a9bd84bf4469a4a8..a63f417a62195146663fb994522f58d3107dabc2 100644 (file)
@@ -315,7 +315,7 @@ system has two cores, each with two CPUs:
 .PP
 .in +4n
 .EX
-$ \fBlscpu | grep -i 'core.*:|socket'\fP
+$ \fBlscpu | egrep -i 'core.*:|socket'\fP
 Thread(s) per core:    2
 Core(s) per socket:    2
 Socket(s):             1