clig_Commandline man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

CLIG(1)			      Programmer's Manual		       CLIG(1)

NAME
       ::clig::Commandline - declare variable to store concatenated argv

SYNOPSIS
       package require clig
       namespace import ::clig::*
       setSpec db

       Commandline varname

DESCRIPTION
       The  command  Commandline  records  in the database db specified in the
       most recent call to setSpec the name varname of a variable  to  be  set
       the concatenated elements of the command line by a clig-parser.

   Example
       With a declaration like

	 Commandline tool

       a C-program calling

	  Cmdline *cmd = parseCmdline(argc, argv);

       will find in cmd->tool all elements of argv joined into one string with
       intervening blanks.

BUG
       This even works with the command line parser for Tcl, ::clig::parseCmd‐
       line, although in contrast to C it is rather useless in Tcl.

SEE ALSO
       clig_Version(n),	 clig_Usage(n),	 clig_Float(n),	 clig(1), clig_Int(n),
       clig_Long(n),	 clig_Flag(n),	   clig_String(n),     clig_Double(n),
       clig_Name(n), clig_Rest(n), clig_Description(n), clig_parseCmdline(n)

Kir				   1.9.11.1			       CLIG(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net