...making Linux just a little more fun!
tuxsun1 [tuxsun1 at gmail.com]
I do not understand how to implement negative arguments as documented in the following excerpts from the Bash Reference Manual, Chapter 8. Command Line Editing, Section 8.4 Bindable Readline Commands, sub-section 8.4.3 Commands for Changing Text:
|upcase-word (M-u)| Uppercase the current (or following) word. With a negative argument, uppercase the previous word, but do not move the cursor. |downcase-word (M-l)| Lowercase the current (or following) word. With a negative argument, lowercase the previous word, but do not move the cursor. |capitalize-word (M-c)| Capitalize the current (or following) word. With a negative argument, capitalize the previous word, but do not move the cursor.Pressing ALT-u, ALT-l, or ALT-c to uppercase, lowercase, or capitalize the current (or following) word is very straightforward.
But for the life of me I'm baffled as to what they mean, "With a negative argument," to uppercase, lowercase, or capitalize the previous word.
What negative argument? From where? What keystroke(s)? I'm lost as to how to uppercase, lowercase, or capitalize the previous word.
What am I missing in their explanation?
Thank you in advance!
John
Neil Youngman [ny at youngman.org.uk]
On or around Tuesday 04 September 2007 18:01, tuxsun1 reorganised a bunch of electrons to form the message:
> I do not understand how to implement negative arguments as documented in > the following excerpts from the Bash Reference Manual, Chapter 8. > Command Line Editing, Section 8.4 Bindable Readline Commands, > sub-section 8.4.3 Commands for Changing Text:
<SNIP>
> What negative argument? From where? What keystroke(s)? I'm lost as to > how to uppercase, lowercase, or capitalize the previous word.
[[[ Alternatively: http://preview.tinyurl.com/2283zt - Kat ]]]
points to
http://www.delorie.com/gnu/docs/bash/bashref_100.html
HTH
Neil