Print highlighted word.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 08 Sep 2011 02:31:07 +0300
changeset 987 deddbee5fe5f
parent 986 858ecbc30566
child 988 5ff9385b41aa
Print highlighted word.
terminal.rst
--- a/terminal.rst	Thu Sep 08 02:24:26 2011 +0300
+++ b/terminal.rst	Thu Sep 08 02:31:07 2011 +0300
@@ -25,6 +25,13 @@
   $ tput -Txterm blink
   ^[[5m
 
+Print highlighted word::
+
+  $ h=`tput smso`
+  $ n=`tput rmso`
+  $ echo ${h}xxx${n}
+  xxx
+
 Old hardware terminal.
 ======================