diff options
author | Steven Price <steven@ecrips.co.uk> | 2017-01-17 08:38:49 -0500 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2017-01-26 17:11:02 -0500 |
commit | 31fc93d5f29b300307cda5aef95d890954337e01 (patch) | |
tree | 19154118781800f7be26dc028ec6ea30b603d287 | |
parent | c80c45019957dcb226f549ebfbeaa9ef7b4eb8c5 (diff) |
dynamic-debug-howto: Correct echo -c to -n
Two of the example command lines use an argument to echo of "-c" which
isn't valid in (most versions of) echo causing these examples to fail.
Correct the argument to "-n" which works correctly.
Signed-off-by: Steven Price <steven@ecrips.co.uk>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r-- | Documentation/admin-guide/dynamic-debug-howto.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/admin-guide/dynamic-debug-howto.rst b/Documentation/admin-guide/dynamic-debug-howto.rst index 88adcfdf5b2b..12278a926370 100644 --- a/Documentation/admin-guide/dynamic-debug-howto.rst +++ b/Documentation/admin-guide/dynamic-debug-howto.rst | |||
@@ -93,9 +93,9 @@ Command Language Reference | |||
93 | At the lexical level, a command comprises a sequence of words separated | 93 | At the lexical level, a command comprises a sequence of words separated |
94 | by spaces or tabs. So these are all equivalent:: | 94 | by spaces or tabs. So these are all equivalent:: |
95 | 95 | ||
96 | nullarbor:~ # echo -c 'file svcsock.c line 1603 +p' > | 96 | nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' > |
97 | <debugfs>/dynamic_debug/control | 97 | <debugfs>/dynamic_debug/control |
98 | nullarbor:~ # echo -c ' file svcsock.c line 1603 +p ' > | 98 | nullarbor:~ # echo -n ' file svcsock.c line 1603 +p ' > |
99 | <debugfs>/dynamic_debug/control | 99 | <debugfs>/dynamic_debug/control |
100 | nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' > | 100 | nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' > |
101 | <debugfs>/dynamic_debug/control | 101 | <debugfs>/dynamic_debug/control |