--- shtool.pod 2001/06/13 08:54:50 1.50
+++ shtool.pod 2001/06/13 21:30:05 1.51
@@ -294,15 +294,17 @@
character (``C<\n>''). When option ``B<-n>'' is used this newline character is
left out.
-The I<str> can contain special ``B<%>I<x>'' constructs which which are
-expanded before the output is written if option ``B<-e>'' is used.
-Currently the following constructs are recognized: ``B<%B>'' for switching to
-terminal bold mode, ``B<%b>'' for switching terminal mode back to normal
-display mode, ``B<%u>'' for the current user name, ``B<%U>'' for the current
-user id (numerical), ``B<%h>'' for the current hostname, ``B<%d>'' for the
-current domain name, ``B<%D>'' for the current day of the month, ``B<%M>'' for
-the current month (numerical), ``B<%m>'' for the current month name and
-``B<%Y>'' for the current year.
+The I<str> can contain special ``B<%>I<x>'' constructs which which
+are expanded before the output is written if option ``B<-e>'' is
+used. Currently the following constructs are recognized: ``B<%B>''
+for switching to terminal bold mode, ``B<%b>'' for switching terminal
+mode back to normal display mode, ``B<%u>'' for the current user name,
+``B<%U>'' for the current user id (numerical), ``B<%g>'' for the current
+group name, ``B<%G>'' for the current group id (numerical), ``B<%h>''
+for the current hostname, ``B<%d>'' for the current domain name,
+``B<%D>'' for the current day of the month, ``B<%M>'' for the current
+month (numerical), ``B<%m>'' for the current month name and ``B<%Y>''
+for the current year.
The trick of this command is that it provides a portable ``B<-n>'' option and
hides the gory details needed to find out the environment details.
|