mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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>
This commit is contained in:
parent
c80c450199
commit
31fc93d5f2
1 changed files with 2 additions and 2 deletions
|
@ -93,9 +93,9 @@ Command Language Reference
|
||||||
At the lexical level, a command comprises a sequence of words separated
|
At the lexical level, a command comprises a sequence of words separated
|
||||||
by spaces or tabs. So these are all equivalent::
|
by spaces or tabs. So these are all equivalent::
|
||||||
|
|
||||||
nullarbor:~ # echo -c 'file svcsock.c line 1603 +p' >
|
nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' >
|
||||||
<debugfs>/dynamic_debug/control
|
<debugfs>/dynamic_debug/control
|
||||||
nullarbor:~ # echo -c ' file svcsock.c line 1603 +p ' >
|
nullarbor:~ # echo -n ' file svcsock.c line 1603 +p ' >
|
||||||
<debugfs>/dynamic_debug/control
|
<debugfs>/dynamic_debug/control
|
||||||
nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' >
|
nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' >
|
||||||
<debugfs>/dynamic_debug/control
|
<debugfs>/dynamic_debug/control
|
||||||
|
|
Loading…
Add table
Reference in a new issue