command line argument
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 5368
Command line Calculator 1.01
Command Line calculator CLC is the calculator that can calculate direct at the linux console. more>>
Command Line calculator "CLC" is the calculator that can calculate direct at the Linux console.
Extract the CLCC file to /usr/bin you might need to login as root or equvalent account, to be able to access it whenever you need it.
Then just write CLCC 67+89 and the answer will be presented to you directly.
CLCC calculates from left to right with no exceptions. CLC also have some extra parameters that is sent to CLC using backslash parameters.
CLCC r2 10/3 this will round the result to 2 decimals you can use 1 to 9 if you want to round the sum of.
the r parameter can also be combined with the other parameters but it must be added first like this
CLCC r3c 10/3 - to get 10 diveded with 3 rounded down to 3 decimals.
CLCC is tested with Ubuntu 6.10 and Puppy OS 2.13 but should work with any Linux version in console mode.
The program is developed using Hotbasic for Linux and is Freeware, hope you find it useful, send and email if you have any questions.
Hotbasic is a basic language that compiles into assembler direct, no interpeter that slows down the code, just pure assembler.
So if you want assembler in Linux but doesnt want to code in nasm, HotBasic is the compiler for you.
<<lessExtract the CLCC file to /usr/bin you might need to login as root or equvalent account, to be able to access it whenever you need it.
Then just write CLCC 67+89 and the answer will be presented to you directly.
CLCC calculates from left to right with no exceptions. CLC also have some extra parameters that is sent to CLC using backslash parameters.
CLCC r2 10/3 this will round the result to 2 decimals you can use 1 to 9 if you want to round the sum of.
the r parameter can also be combined with the other parameters but it must be added first like this
CLCC r3c 10/3 - to get 10 diveded with 3 rounded down to 3 decimals.
CLCC is tested with Ubuntu 6.10 and Puppy OS 2.13 but should work with any Linux version in console mode.
The program is developed using Hotbasic for Linux and is Freeware, hope you find it useful, send and email if you have any questions.
Hotbasic is a basic language that compiles into assembler direct, no interpeter that slows down the code, just pure assembler.
So if you want assembler in Linux but doesnt want to code in nasm, HotBasic is the compiler for you.
Download (0.006MB)
Added: 2007-02-16 License: Freeware Price:
985 downloads
Command Line WRAPper 0.3.0
Command Line WRAPper is a tool to build and run commands from input lines. more>>
Command Line WRAPper is a tool that provides an easy way to build and run commands from input lines, avoiding the use of shell script. It is similar to xargs.
clwrap can make great things with the locate command, and is low resource intensive. It can also do some not-quite-fun works like multiple configure/make/make install after a fresh system installation. In practice, you have to generate a list of files/directories you want to manage, clwrap takes it in standard input and apply the command you want to apply for each files (lines) in input.
But you can do much more, in fact, its up to you to find how to use it ;).
examples:
- copying several files into one specific directory:
locate myfiles | clwrap -e cp {} mydir/
- renaming several files:
ls -1 ultra*
| clwrap -e "echo -n mv -v {}" -e "echo {} | sed s/ultra/ /"
| clwrap -e {}
- running a specific line in the shell history:
history | grep "482" | head -n 1 | sed s/ *[0-9]* *// | clwrap -v -e {}
- try all tv norms and frequency tables possible combinations with scantv:
cat norm
| clwrap -e "cat freq | clwrap -e echo scantv -n {} -f {}"
| clwrap -e {} > file 2>&1
- reformat source code, after a backup of course:
ls -1 | clwrap -e "cp {} {}.orig && flip -u {} && cat {}
| sed s/^[ t]*$//;/^$/d
| indent -kr -bad -bap -bbb -sob -i8 -l100 {} -o {}.tmp
&& mv {} tmp && mv {}.tmp {}"
<<lessclwrap can make great things with the locate command, and is low resource intensive. It can also do some not-quite-fun works like multiple configure/make/make install after a fresh system installation. In practice, you have to generate a list of files/directories you want to manage, clwrap takes it in standard input and apply the command you want to apply for each files (lines) in input.
But you can do much more, in fact, its up to you to find how to use it ;).
examples:
- copying several files into one specific directory:
locate myfiles | clwrap -e cp {} mydir/
- renaming several files:
ls -1 ultra*
| clwrap -e "echo -n mv -v {}" -e "echo {} | sed s/ultra/ /"
| clwrap -e {}
- running a specific line in the shell history:
history | grep "482" | head -n 1 | sed s/ *[0-9]* *// | clwrap -v -e {}
- try all tv norms and frequency tables possible combinations with scantv:
cat norm
| clwrap -e "cat freq | clwrap -e echo scantv -n {} -f {}"
| clwrap -e {} > file 2>&1
- reformat source code, after a backup of course:
ls -1 | clwrap -e "cp {} {}.orig && flip -u {} && cat {}
| sed s/^[ t]*$//;/^$/d
| indent -kr -bad -bap -bbb -sob -i8 -l100 {} -o {}.tmp
&& mv {} tmp && mv {}.tmp {}"
Download (0.042MB)
Added: 2005-04-04 License: GPL (GNU General Public License) Price:
1664 downloads
C++ Command Line Library 0.3
C++ Command Line Library provides a framework for handling command line options and arguments. more>>
C++ Command Line Library provides a framework for handling command line options and arguments. Either variables (of any type) are set to values given at the command line. Or user defined functions are called with arguments (of any type) read from the command line.
It was developed and tested using kdevelop 2.1 and gcc 2.95.3 on SuSE Linux 7.3.x
Main features:
- Easy extraction of command line arguments
- Automatic conversion of command line arguments to any type (even user defined classes)
- Convenient handling of command line usage errors by exceptions
- Complete documentation
- And all this is absolutely free
<<lessIt was developed and tested using kdevelop 2.1 and gcc 2.95.3 on SuSE Linux 7.3.x
Main features:
- Easy extraction of command line arguments
- Automatic conversion of command line arguments to any type (even user defined classes)
- Convenient handling of command line usage errors by exceptions
- Complete documentation
- And all this is absolutely free
Download (0.83MB)
Added: 2006-11-15 License: LGPL (GNU Lesser General Public License) Price:
1084 downloads
Command Line Content Management System 0.6
Command Line Content Management System is my own command line content management system. more>>
Command Line Content Management System is my own command line content management system. Its not a dynamic cms, but a script that takes a source tree and creates a web site out of it.
The idea came to me when i was using m4 for my website to generate the HTML, but i did not like the idea that i was still typing HTML in my pages, even if it was simplified by using macros. I was updating a wiki page somewhere when it hit me: i wanted a command line system that was able to take wiki style input for page content. The result is clcms.
Its in beta state at the moment, mostly to try out some different approaches to various
challenges. But i thought id share it now, so if youre interested and might have some ideas on where to go from here, drop me a line (or a patch). At least it can build this site and the tutorial site, but anything more fancy will probably not work.
Its also a way for me to learn Python, so i might in my ignorance produce some weird constructs here and there. Please let me know, but be gentle.
Main features:
- Updates should be possible with a terminal and an editor
- Content is stored in a directory tree
- Adding pages (or items?) should be as easy as creating a new file and typing some lines in it.
- For default pages/items no config necessary
- No HTML, XML or anything alike for normal usage
- All pages have their binary content (images, download files) in the directory of the page itself
- All output is static, no generating on the fly
Usage:
After untarring the tarball, add < dir>/bin to your path or copy bin/clcms.py to a directory in your path.
You can now go to < dir>/examples/documentation and build the tutorial by running
clcms.py
Now wasnt that easy?
Point your browser to file://< dir>/examples/documentation/out/index.html and see the result of all your hard work.
If it did not work, its not your fault. Just remember that version number.
Enhancements:
- .page files can now contain content attributes.
- Filename extensions are removed and replaced by attribute lines in .page files.
- The page.meta file should now be called page.attr.
- The nomenu option had disappeared in a previous release, and has been put back.
<<lessThe idea came to me when i was using m4 for my website to generate the HTML, but i did not like the idea that i was still typing HTML in my pages, even if it was simplified by using macros. I was updating a wiki page somewhere when it hit me: i wanted a command line system that was able to take wiki style input for page content. The result is clcms.
Its in beta state at the moment, mostly to try out some different approaches to various
challenges. But i thought id share it now, so if youre interested and might have some ideas on where to go from here, drop me a line (or a patch). At least it can build this site and the tutorial site, but anything more fancy will probably not work.
Its also a way for me to learn Python, so i might in my ignorance produce some weird constructs here and there. Please let me know, but be gentle.
Main features:
- Updates should be possible with a terminal and an editor
- Content is stored in a directory tree
- Adding pages (or items?) should be as easy as creating a new file and typing some lines in it.
- For default pages/items no config necessary
- No HTML, XML or anything alike for normal usage
- All pages have their binary content (images, download files) in the directory of the page itself
- All output is static, no generating on the fly
Usage:
After untarring the tarball, add < dir>/bin to your path or copy bin/clcms.py to a directory in your path.
You can now go to < dir>/examples/documentation and build the tutorial by running
clcms.py
Now wasnt that easy?
Point your browser to file://< dir>/examples/documentation/out/index.html and see the result of all your hard work.
If it did not work, its not your fault. Just remember that version number.
Enhancements:
- .page files can now contain content attributes.
- Filename extensions are removed and replaced by attribute lines in .page files.
- The page.meta file should now be called page.attr.
- The nomenu option had disappeared in a previous release, and has been put back.
Download (0.024MB)
Added: 2006-03-21 License: GPL (GNU General Public License) Price:
1312 downloads
Automated Argument Helper 1.2.2
Aargh is a code generator, written in C++ and licensed under the terms of the GNU General Public License (GPL). more>>
Aargh is a code generator, written in C++ and licensed under the terms of the GNU General Public License (GPL). It generates C++ code to parse a command line, using the getopt() facility available in UNIX and UNIX-like environments.
Automated Argument Helper project supports command-line options with integer arguments, string arguments, and no arguments. The generated code is commented and carefully indented for readability.
Its nice to have lots of command line options, but its a real pain to code for them.
Not that its difficult. Its just tedious, time-consuming, error prone, and no fun. I used to wince at the thought of adding command line options.
Not any more. All I have to do is define the options I want in a small XML file, and run it through aargh. Instantly I have C++ source code that I can compile and link into my program.
If I need to add another option, or otherwise change the rules, I can edit the XML and regenerate the code. No muss, no fuss. Now I can spend more time on the interesting parts of the project.
To use aargh, write an XML file to describe the options you want. When aargh reads the file, it generates two C++ files.
One file is a header that declares a class to represent the options. By default this class is named "Opts," but you can specify a different name. The other file is the implementation of Opts, or whatever you decide to call it. The Opts class provides member functions to parse the command line and return the results.
In your own code, declare an instance of Opts and call Opts::get() to parse the command line, passing it the argc and argv arguments from main(). Opts::get() returns zero if the command line follows the rules that you have outlined in the XML file, or non-zero otherwise. If the parsing is successful, the Opts object stores the results and makes them available to your program by a series of accessor functions.
Main features:
- You can enforce upper and/or lower limits on the number of non-option arguments.
- You can distinguish between options that take arguments and those that dont.
- You can specify that an option is required.
- You can require that the argument to an option be a non-negative integer.
- For an integer argument you can enforce upper and/or lower limits.
- For a string argument you can enforce upper and/or lower limits on the string length.
- For a string argument you can call a function of your own to validate the argument.
- You can allow multiple occurrences of the same option. In that case the generated code builds an STL vector to hold the arguments. By default the generated software allows only one occurrence of any given option.
Enhancements:
- You can now specify the location of the generated header file independently of its name.
- This feature may make it easier to incorporate aargh into complex build environments.
<<lessAutomated Argument Helper project supports command-line options with integer arguments, string arguments, and no arguments. The generated code is commented and carefully indented for readability.
Its nice to have lots of command line options, but its a real pain to code for them.
Not that its difficult. Its just tedious, time-consuming, error prone, and no fun. I used to wince at the thought of adding command line options.
Not any more. All I have to do is define the options I want in a small XML file, and run it through aargh. Instantly I have C++ source code that I can compile and link into my program.
If I need to add another option, or otherwise change the rules, I can edit the XML and regenerate the code. No muss, no fuss. Now I can spend more time on the interesting parts of the project.
To use aargh, write an XML file to describe the options you want. When aargh reads the file, it generates two C++ files.
One file is a header that declares a class to represent the options. By default this class is named "Opts," but you can specify a different name. The other file is the implementation of Opts, or whatever you decide to call it. The Opts class provides member functions to parse the command line and return the results.
In your own code, declare an instance of Opts and call Opts::get() to parse the command line, passing it the argc and argv arguments from main(). Opts::get() returns zero if the command line follows the rules that you have outlined in the XML file, or non-zero otherwise. If the parsing is successful, the Opts object stores the results and makes them available to your program by a series of accessor functions.
Main features:
- You can enforce upper and/or lower limits on the number of non-option arguments.
- You can distinguish between options that take arguments and those that dont.
- You can specify that an option is required.
- You can require that the argument to an option be a non-negative integer.
- For an integer argument you can enforce upper and/or lower limits.
- For a string argument you can enforce upper and/or lower limits on the string length.
- For a string argument you can call a function of your own to validate the argument.
- You can allow multiple occurrences of the same option. In that case the generated code builds an STL vector to hold the arguments. By default the generated software allows only one occurrence of any given option.
Enhancements:
- You can now specify the location of the generated header file independently of its name.
- This feature may make it easier to incorporate aargh into complex build environments.
Download (0.16MB)
Added: 2006-04-14 License: GPL (GNU General Public License) Price:
1288 downloads
Tk::CmdLine
Tk::CmdLine contains process standard X11 command line options and set initial resources. more>>
Tk::CmdLine contains process standard X11 command line options and set initial resources.
SYNOPSIS
Tk::CmdLine::SetArguments([@argument]);
my $value = Tk::CmdLine::cget([$option]);
Tk::CmdLine::SetResources((@resource | $resource) [, $priority]);
Tk::CmdLine::LoadResources(
[ -symbol => $symbol ]
[ -file => $fileSpec ]
[ -priority => $priority ]
[ -echo => $fileHandle ] );
Process standard X11 command line options and set initial resources.
The X11R5 man page for X11 says: "Most X programs attempt to use the same names for command line options and arguments. All applications written with the X Toolkit Intrinsics automatically accept the following options: ...". This module processes these command line options for perl/Tk applications using the SetArguments function.
This module can optionally be used to load initial resources explicitly via function SetResources, or from specified files (default: the standard X11 application-specific resource files) via function LoadResources.
<<lessSYNOPSIS
Tk::CmdLine::SetArguments([@argument]);
my $value = Tk::CmdLine::cget([$option]);
Tk::CmdLine::SetResources((@resource | $resource) [, $priority]);
Tk::CmdLine::LoadResources(
[ -symbol => $symbol ]
[ -file => $fileSpec ]
[ -priority => $priority ]
[ -echo => $fileHandle ] );
Process standard X11 command line options and set initial resources.
The X11R5 man page for X11 says: "Most X programs attempt to use the same names for command line options and arguments. All applications written with the X Toolkit Intrinsics automatically accept the following options: ...". This module processes these command line options for perl/Tk applications using the SetArguments function.
This module can optionally be used to load initial resources explicitly via function SetResources, or from specified files (default: the standard X11 application-specific resource files) via function LoadResources.
Download (5.7MB)
Added: 2007-08-21 License: Perl Artistic License Price:
794 downloads
Randomize Lines 0.2.6
Randomize Lines (rl) is a command-line tool that reads lines from an input file or stdin. more>>
Randomize Lines (rl) is a command-line tool that reads lines from an input file or stdin, randomizes the lines and outputs a specified number of lines. It does this with only a single pass over the input while trying to use as little memory as possible.
I wrote rl in my spare time mainly to be able to select a random audio file to play when my toast is done (script in combination with find and sleep). Another reason was to familiarize myself with autoconf and friends.
The most recent version of this page can be found at http://ch.tudelft.nl/~arthur/rl/.
Warning: rl is software in development. The command line options and default behavior may change between releases.
Another Warning: I have mostly lost interest in this project and am not planning on doing much development on it any more. I will however still accept patches and fix important bugs (this more or less contradicts the previous warning).
Enhancements:
- A dangerous example was removed from the manual page and was replaced by several benign ones.
<<lessI wrote rl in my spare time mainly to be able to select a random audio file to play when my toast is done (script in combination with find and sleep). Another reason was to familiarize myself with autoconf and friends.
The most recent version of this page can be found at http://ch.tudelft.nl/~arthur/rl/.
Warning: rl is software in development. The command line options and default behavior may change between releases.
Another Warning: I have mostly lost interest in this project and am not planning on doing much development on it any more. I will however still accept patches and fix important bugs (this more or less contradicts the previous warning).
Enhancements:
- A dangerous example was removed from the manual page and was replaced by several benign ones.
Download (0.12MB)
Added: 2007-06-15 License: GPL (GNU General Public License) Price:
861 downloads
Python commandsplus 0.2.3
Python commandsplus is a Python module that complements the existing commands module with an extra function. more>>
Python commandsplus is a Python module that complements the existing commands module with an extra function getstatusoutputerror, which separates the standard output from the standard error and makes it easier to evaluate return status.
Python commandsplus also includes a useful function that protects a command line argument from shell metacharacters.
<<lessPython commandsplus also includes a useful function that protects a command line argument from shell metacharacters.
Download (0.015MB)
Added: 2005-12-03 License: GPL (GNU General Public License) Price:
1422 downloads
The C++ Cmdline Library 0.3
The C++ Cmdline Library provides a framework for handling command line options and arguments. more>>
The C++ Cmdline Library provides a framework for handling command line options and arguments.
Either variables (of any type) are set to values given at the command line. Or user defined functions are called with arguments (of any type) read from the command line.
It was developed and tested using kdevelop 2.1 and gcc 2.95.3 on SuSE Linux 7.3.
Main features:
- Easy extraction of command line arguments
- Automatic conversion of command line arguments to any type (even user defined classes)
- Convenient handling of command line usage errors by exceptions
- Complete documentation
- And all this is absolutely free
<<lessEither variables (of any type) are set to values given at the command line. Or user defined functions are called with arguments (of any type) read from the command line.
It was developed and tested using kdevelop 2.1 and gcc 2.95.3 on SuSE Linux 7.3.
Main features:
- Easy extraction of command line arguments
- Automatic conversion of command line arguments to any type (even user defined classes)
- Convenient handling of command line usage errors by exceptions
- Complete documentation
- And all this is absolutely free
Download (0.83MB)
Added: 2006-12-14 License: LGPL (GNU Lesser General Public License) Price:
1046 downloads
Acovea/GTK 1.0.1
Acovea/GTK is a GTK-based graphical front end for the Acovea optimization engine. more>>
Acovea/GTK project is a GTK-based graphical front end for the Acovea (Analysis of Compiler Options via Evolutionary Algorithm) optimization engine.
The Acovea engine ships with a command-line driver named runacovea. I like command-line utilities, and probably spend as much time at the prompt as I do clicking buttons. Still, a graphical interface can provide a certain ease-of-use that is lacking in a command-line application.
<<lessThe Acovea engine ships with a command-line driver named runacovea. I like command-line utilities, and probably spend as much time at the prompt as I do clicking buttons. Still, a graphical interface can provide a certain ease-of-use that is lacking in a command-line application.
Download (0.40MB)
Added: 2006-07-10 License: GPL (GNU General Public License) Price:
1201 downloads
clive 0.2.0
clive is a command line program that extracts videos from YouTube and Google Video websites. more>>
clive is a command line program that extracts videos from YouTube and Google Video websites. The project supports embedded video extraction, and can be used with ffmpeg to re-encode the extracted videos to different video formats (avi, mpeg, flv).
<<less Download (0.023MB)
Added: 2007-04-28 License: GPL (GNU General Public License) Price:
914 downloads
xconfig 2.1.0
xconfig is a tool to configure XF86Config and xorg.conf from the command line. more>>
xconfig projetc is a software to configure XF86Config and xorg.conf from the command line.
xconfig is licensed under GPLv2.
<<lessxconfig is licensed under GPLv2.
Download (0.035MB)
Added: 2006-06-26 License: GPL (GNU General Public License) Price:
1218 downloads
gimmage 0.2.3
gimmage is an image viewer that is perfect for command line usage as it accepts directories and image filenames as arguments. more>>
gimmage is an image viewer that is perfect for command line usage as it accepts directories and image filenames as arguments.
It has an in-application file browser that allows users to select and drag images and directories into the image viewing area in order to have them displayed.
<<lessIt has an in-application file browser that allows users to select and drag images and directories into the image viewing area in order to have them displayed.
Download (0.024MB)
Added: 2007-06-27 License: GPL (GNU General Public License) Price:
849 downloads
yatesParse 0.2
yatesParse is a C++ library for parsing and handling command line arguments. more>>
yatesParse is a C++ library for parsing and handling command line arguments. It can handle normal arguments (foo --help, foo -h, etc) and arguments with values (foo --file evilplans.txt, foo -f evilplans.txt, etc).
A small example program using yatesParse is available in SVN. Complete Doxygen docs are available in both the Docs section of the yatesParse website, and in SVN.
A brief explanation of how yatesParse works:
Command line arguments are added by calling the add_option function, the user must specify the option to add and the address of the function to call when that argument has been detected.
When the parsing function detects an argument, a function of the users choice is called and, if the argument takes a value, the value is passed to the function.
yatesParse can also generate output for --help from the options added and program information that the user specifies.
<<lessA small example program using yatesParse is available in SVN. Complete Doxygen docs are available in both the Docs section of the yatesParse website, and in SVN.
A brief explanation of how yatesParse works:
Command line arguments are added by calling the add_option function, the user must specify the option to add and the address of the function to call when that argument has been detected.
When the parsing function detects an argument, a function of the users choice is called and, if the argument takes a value, the value is passed to the function.
yatesParse can also generate output for --help from the options added and program information that the user specifies.
Download (0.095MB)
Added: 2005-10-11 License: GPL (GNU General Public License) Price:
1473 downloads
AlbumEasy for Linux 2.2
The free stamp album page layout program. more>> AlbumEasy is free of charge. I developed it for my own use, but as I felt that other stamp collectors might find it useful, I have made it publicly available.
The first version of AlbumEasy was a command line application, which worked for me. However I tend to forget that many people are not familiar with the command line. I have therefore decided to upgrade AlbumEasy so that there are GUI and command line versions of the application for both Linux and Windows.<<less
Download (698KB)
Added: 2009-04-10 License: Freeware Price: Free
196 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above command line argument search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed