From 4d1bad3c621a3af5808dc3137cb59bf2bd19b0be Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 23 Sep 2020 22:49:27 +0000 Subject: [PATCH] Remove stray lines I snagged the license boiler plate. Fix that. also, it's spelled .Va not .Vn. Plus " quoting issues. Noticed by: rgrimes, xtouqh at hotmail dot com --- share/man/man9/devctl_notify.9 | 2 -- share/man/man9/devctl_process_running.9 | 2 -- share/man/man9/devctl_safe_quote_sb.9 | 8 +++----- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/share/man/man9/devctl_notify.9 b/share/man/man9/devctl_notify.9 index e47b407a8a8d..9d490c6bfe9d 100644 --- a/share/man/man9/devctl_notify.9 +++ b/share/man/man9/devctl_notify.9 @@ -1,8 +1,6 @@ .\" .\" Copyright (c) 2020 M Warner Losh .\" -.\" This program is free software. -.\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: diff --git a/share/man/man9/devctl_process_running.9 b/share/man/man9/devctl_process_running.9 index 69549015d441..8ac4e1c8b358 100644 --- a/share/man/man9/devctl_process_running.9 +++ b/share/man/man9/devctl_process_running.9 @@ -1,8 +1,6 @@ .\" .\" Copyright (c) 2020 M Warner Losh .\" -.\" This program is free software. -.\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: diff --git a/share/man/man9/devctl_safe_quote_sb.9 b/share/man/man9/devctl_safe_quote_sb.9 index 618810afd8bf..7560fd7dcc4b 100644 --- a/share/man/man9/devctl_safe_quote_sb.9 +++ b/share/man/man9/devctl_safe_quote_sb.9 @@ -1,8 +1,6 @@ .\" .\" Copyright (c) 2020 M Warner Losh .\" -.\" This program is free software. -.\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: @@ -38,12 +36,12 @@ .Fn devctl_safe_quote_sb "struct sbuf *sb" "const char *src" .Sh DESCRIPTION Copy the string from -.Vn src +.Va src into -.Vn sb . +.Va sb . All backslash characters are doubled. All double quote characters -.Sq " +.Sq \&" are also preceded by a backslash. All other characters are copied without modification. The