10-18-2006
As a corollary to this, could anyone please explain the -t option? I've always wondered about what that really did, but all I've ever found was the description in the man page.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I have problem understanding shell script.Written that
$bindir/put_load.ksh ; typeset RV= $?
I dont have any other document about script. How can i find that $bindir is exist or not what is the content of that, i am working on new box . how can i search that in old box what... (4 Replies)
Discussion started by: sam71
4 Replies
2. Shell Programming and Scripting
I have found this command *typeset* and the option * -f *, which should provide me the list of all the currently defined functions. Is there any possibility of specifying the file in which this command to search ? (1 Reply)
Discussion started by: xinfinity
1 Replies
3. Shell Programming and Scripting
Can anyone show me a simple practical usage of typeset. (1 Reply)
Discussion started by: balaji_prk
1 Replies
4. Shell Programming and Scripting
Hi,
Could any one please explain about typeset or share any link from where i can study about typeset i.e how to use it, how to define it.. etc?
Thanks-
Yogi (3 Replies)
Discussion started by: bisla.yogender
3 Replies
5. UNIX and Linux Applications
Hi All ,
Can any one help me the meaning of typeset -r
Thanks,
venkat (1 Reply)
Discussion started by: venkatakotiy
1 Replies
6. Shell Programming and Scripting
Hi,
typeset -l sgf # all lowercase letters
typeset -u SGF # all uppercase letters
sgf=$1
SGF=$sgf
these lines used in my scripts . It ran fine in ksh but when we convert this to bash it erroring out.
I like to know what the use of typeset ??
Thanks & Regards
kanagaraj (3 Replies)
Discussion started by: kanagaraj
3 Replies
7. Shell Programming and Scripting
Hi all,
Am trying to convert a script written in ksh to a bash shell.
At the moment, am stumped with the typeset -u command and I can't find an equivalent of it in bash.
integer function is also not working as is the following if statement
if ] && ]; then
continue
fi
Is... (3 Replies)
Discussion started by: newbie_01
3 Replies
8. Shell Programming and Scripting
Hi,
All the scripts we have here use typeset instead of normal variables.
They don't have any parameters, they just get declared at the beginning of the scripts like this: typeset var1 var2 var3Could anyone tell me why this is done? I don't see the advantage in this over using normal variables. (1 Reply)
Discussion started by: Subbeh
1 Replies
9. Shell Programming and Scripting
I'm getting different behaviors for "typeset -i" on different systems. In one case unset parameters are 0, and in another case they're empty. Is one of these behaviors correct, or is the behavior here unspecified?
First system:
$ typeset -i x
$ print $x
0
$ print ${.sh.version}
Version M... (13 Replies)
Discussion started by: Matt Miller
13 Replies
LEARN ABOUT REDHAT
makewhatis
MAKEWHATIS(8) System Manager's Manual MAKEWHATIS(8)
NAME
makewhatis - Create the whatis database
SYNOPSIS
makewhatis [-u] [-v] [-w] [-s sections ] [-c [catpath]] [manpath]
DESCRIPTION
makewhatis reads all the manual pages contained in the given sections of manpath or the preformatted pages contained in the given sections
of catpath. For each page, it writes a line in the whatis database; each line consists of the name of the page and a short description,
separated by a dash. The description is extracted using the content of the NAME section of the manual page.
Since other languages use a different term for the NAME section, makewhatis recognizes the equivalent terms in Czech, Italian, Finnish,
French, German and Spanish.
If no manpath argument is given, /usr/man is assumed by default.
OPTIONS
-u Update database with new pages.
-v Verbose output
-w Use manpath obtained from `man --path`
-s sections
Looks in the sections of manpath or catpath. If the option is absent, its value is assumed to be '1 2 3 4 5 6 7 8 9 n l'
-c catpath
The preformatted manual pages located in catpath are scanned. If the argument is not provided, it is assumed to be the first exist-
ing directory between /usr/man/preformat and /usr/man.
EXAMPLES
To rebuild only /usr/X11R6/man/whatis and /usr/local/man/whatis
makewhatis /usr/X11R6/man /usr/local/man
To rebuild all the databases, including those of the Finnish, French and Italian translations
LANGUAGE=fi:fr:it makewhatis -w
BUGS
makewhatis may not handle too well manual pages written with non-standard troff macros, such as the Tcl/Tk pages.
makewhatis does not work on preformatted translations.
SEE ALSO
apropos(1), man(1), whatis(1)
22 January 1999 MAKEWHATIS(8)