03-27-2013
Given that bash is supposed to accept Bourne shell syntax, why not just use bash to execute the Bourne shell BASIC interpreter provided? Sure, it will be SLOW and maybe you can make use of some extended bash features to speed it up a little, but I agree with Corona688: Why would we want to waste our time reinventing this wheel?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello,
i am very new to this, so i have basic questions about writing a shell.
if i am working with a basic file, "main.c" and a shell file, "shell", what will the shell file look like?
i want to change the command prompt from % to $, and i want to be able to have standard input from the... (0 Replies)
Discussion started by: ayalex
0 Replies
2. Windows & DOS: Issues & Discussions
Hello,
I am trying to accomplish the following.
Send the output of a command to the screen (this happens by default) as well as capture the output of the screen to a log file.
How can this be achieved in DOS command interpreter syntax.
Any ideas/suggesstions/indicators are greatly... (2 Replies)
Discussion started by: jerardfjay
2 Replies
3. Shell Programming and Scripting
need some help badly.
if i had a file with content of few lines like the followings.
1183724770.651 0.049 137.157.56.169 200 415 GET http://venus/client/clients.xml "text/xml"
1183724770.651 0.049 141.183.101.250 200 415 GET http://venus/client/clients.xml "text/xml"
using what command... (1 Reply)
Discussion started by: akagi07
1 Replies
4. UNIX for Dummies Questions & Answers
What is the difference between the(a) shell and the (a) command-line interpreter?
Here we're talking about the complete dummy question, but could someone point me right.
(yes, have written scripts in for instance bash shell,
and and grepp-ed my way around ....:eek: (4 Replies)
Discussion started by: amkgw
4 Replies
5. Shell Programming and Scripting
What would be the best way or method to determine or test for the shell interpreter at the beginning of a script in the event one shell is not available?
If I use the following:
#!/bin/bash
and /bin/bash is not available, then use I'd like to use /bin/ksh if it is available.
#!/bin/ksh (8 Replies)
Discussion started by: nck
8 Replies
6. Shell Programming and Scripting
Lets say I wanted to create a script that would show what people are doing on my machine using the w command and refresh in about 6 seconds. What would be the easiest way to do this? I pretty much want the script to loop until I stop it.
I'm using the BASH shell by the way.
Help is appreciated.... (1 Reply)
Discussion started by: c4391
1 Replies
7. Shell Programming and Scripting
Im trying to make a script that simply adds a word to the last available line in a txt file without overwriting any previous lines.
Ive googled this and there are great examples but no one explain what each function does, and i dont entirely understand how it works.
Basically Im looking for... (7 Replies)
Discussion started by: kylecn
7 Replies
8. UNIX for Dummies Questions & Answers
I have been thinking about another shell scripting project using the Arduino Diecimila board.
I was going to make a kids level slow 8 channel Logic Analyser.
I thought about using the termiinal esc code graphics characters.
This is the test code using said terminal escape codes. I have only... (2 Replies)
Discussion started by: wisecracker
2 Replies
9. Solaris
Hello. We have recently changed from HP Unix Servers to Solaris. On the HP Severs we were using the POSIX shell. Solaris is using the Bourne sh.
We are using ksh as our default shell after login. The problem we are encountering is when something like Perl or Cron uses the shell to execute a... (5 Replies)
Discussion started by: mix123
5 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
I am a newbie to shell scripting. I am trying to something like this.
#!bin/bash
cd /u01/app/oracle/
# then start the process
./opmnctl startall
Can someone help me with this requirement.
Help is very much appreciated.
Thanks
Venkat
Please use code tags next time for... (10 Replies)
Discussion started by: venkat8439
10 Replies
LEARN ABOUT DEBIAN
opencv_traincascade
OPENCV_TRAINCASCADE(1) User Commands OPENCV_TRAINCASCADE(1)
NAME
opencv_traincascade - transcascade application
SYNOPSIS
opencv_traincascade [options]
DESCRIPTION
traincascade application.
OPTIONS
opencv_traincascade supports the following options:
BASIC OPTIONS
-data cascade_dir_name
-vec vec_file_name
-bg background_file_name
-numPos number_of_positive_samples
The default is 2000.
-numNeg number_of_negative_samples
The default is 1000.
-num Stagesnumber_of_stages
The default is 20.
-precalcValBufSize precalculated_vals_buffer_size_in_Mb
The default is 256.
-precalcIdxBufSize precalculated_idxs_buffer_size_in_Mb
The default is 256.
-baseFormatSave
CASCADE OPTIONS
-stageType
The default is BOOST.
-featureType
Set feauture type . You can select HAAR or LBP. The default is HAAR.
-w sampleWidth
The default is 24.
-h sampleHeight
The default is 24.
BOOST OPTIONS
-bt {DAB|RAB|LB|GAB}
The type of the applied boosting algorithm. You can choose between Discrete AdaBoost (DAB), Real AdaBoost (RAB), LogitBoost (LB) and
Gentle AdaBoost (GAB). The default is GAB.
-minHitRate min_hit_rate
The default is 0.995.
-maxFalseAlarmRate max_false_alarm_rate
The default is 0.5.
-weightTrimRate weight_trim_rate
The default is 0.95.
-maxDepth max_depth_of_weak_tree
The default is 1.
-maxWeakCount max_weak_tree_count
The default is 100.
HAARFEATURE OPTIONS
-mode <BASIC|CORE|ALL>
The type of the applied haarFeature mode. You can choose between BASIC, ORE and ALL. The default is BASIC.
EXAMPLES
TODO
SEE ALSO
opencv_haartraing(1), opencv_performance(1)
More information and examples can be found in the OpenCV documentation.
AUTHORS
This manual page was written by Nobuhiro Iwamatsu <iwamatsu@debian.org> for the Debian project (but may be used by others).
OpenCV May 2010 OPENCV_TRAINCASCADE(1)