Sponsored Content
Full Discussion: typeset in Ksh
Top Forums UNIX for Dummies Questions & Answers typeset in Ksh Post 302093462 by Glenn Arndt on Thursday 19th of October 2006 02:48:18 PM
Old 10-19-2006
Thanks for the info. It seems strange -- I guess I could use it to track a list of variables for some user-defined purpose, but considering there are zillions of other ways to do something like that... ok. Thanks again, though.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

TYPESET use

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

typeset -f ???

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

typeset

Can anyone show me a simple practical usage of typeset. (1 Reply)
Discussion started by: balaji_prk
1 Replies

4. Shell Programming and Scripting

Typeset

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

typeset-r

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

Typeset conversion problem from ksh to bash

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

converting ksh to bash - typeset commands

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

Why use typeset?

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

ksh "typeset -i" and Empty Parameters

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
CDCTRL(1)							   User Commands							 CDCTRL(1)

NAME
cdctrl - command line CDROM control SYNOPSIS
cdctrl [device] cdctrl -c [device] cdctrl -c cdctrl [-V|-?|-h] DESCRIPTION
cdctrl command is a program that opens a CDROM device and may be used for interactive control of the CDROM including play starting at a track, next track, previous track, stop, pause, display info, display CDROM status, and display CDROM directory. This program may be used as a daemon to control an audio CDROM device. The commands to the cdctrl command are: device Open CDROM device. -V Print out version and build information. -h Display help. -v Display help. -D Enable runtime debugging. -c Output CR-LF at end of each line, not LF. By default, cdctrl opens /dev/cdrom, but does not start playing. Output is to standard output with each line terminated by a linefeed (LF). Commands to cdctrl are: 1 Play first track, start playing. s Stop playing. p Pause playing. r Resume playing. e Eject CDROM. c Close CDROM tray. i Display info string. d Display directory. - Play previous track. + Play next track. When on last track, play first track. [1..99] Play track 1..99. ? Display help screen. q Quit. Each command results in one or multiple lines of output to stdout, followed by an info string, followed by END. The format of the info string is: CMD cmd-name cd-status track abs-time rel-time cmd-name := {play, stop, ... quit} from above list cd-status := {invalid, play, paused} cd-status += {completed, error, no_status} track := {1..99} CD track abs-time := HH:MM:SS elapsed since CD start rel-time := HH:MM:SS elapsed since track start FILES
/dev/cdrom - default cdrom device ENVIRONMENT
CDTOOLDEV - cdrom device, overrides compile time defaults SEE ALSO
cdplay(1) AUTHORS
Main code: Thomas Insel <tinsel@tinsel.org> Enhancements: Sven Oliver Moll <smol0075@rz.uni-hildesheim.de> cdctrl extensions: Wade Hampton <whampton@staffnet.com> CDTOOL
29-July-2004 CDCTRL(1)
All times are GMT -4. The time now is 06:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy