12-14-2009
Thanks for the feedback ..
In this specific case I am considering whether to run a simple function or or leave the equation in the loop.
What I'll do is increase the instances substantially to see what happens.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Probably a simple one.
Basically I am retrieving a number from a file - setting a variable against it and then incrementing this by 1 and using this as an entry number in a log file for messages. I need the variable to re-evalute itself each time I call it so I get the latest number in the file -... (1 Reply)
Discussion started by: frustrated1
1 Replies
2. Shell Programming and Scripting
Hi,
Could someone please help me with how to do the following?
Say I have a flat file test.lst and the content of the file is:
Report Date - `date '+%m%d%Y'`
I'm trying the following
while read myLine
do
echo ${myLine}
done<test.lst
This prints Report Date - `date... (1 Reply)
Discussion started by: arunsoman80
1 Replies
3. Shell Programming and Scripting
I have variables:
FOO="Text"
BAR="FOO"
I'd like to be able to evaluate the variable named as the value of $BAR.
echo $FOO
Text
echo $BAR
FOO
This is what I'd like to do:
echo ${$BAR} (this won't work)
Text (3 Replies)
Discussion started by: Ilja
3 Replies
4. Shell Programming and Scripting
Hi all,
I have a script that runs perfectly from cmd, but in the cron it gives a strange ':::::::::::::::' output instead of evaluating the part inside the quotes.
this is the script:
bash-3.00# more test
#!/bin/ksh
#-----swap---
TEMP_FILE=/HealthCheck/test/file.txt
swap -s | tee... (1 Reply)
Discussion started by: kerrygold
1 Replies
5. Shell Programming and Scripting
How to evaluate the value of a variable ?
For example:
a=var
$a=value !!!error happens!!!
I want to evaluate var=value, how to realize it?
Thanks!
---------- Post updated at 03:37 AM ---------- Previous update was at 02:22 AM ----------
I am using linux bash.
a=var
$a=value... (4 Replies)
Discussion started by: 915086731
4 Replies
6. UNIX for Dummies Questions & Answers
In BASH, how does ||: get interpreted. I know || is logical or. And I believe : evaluates to true. Can someone give a thorough explanation for this usage?
Example
for i in $IGGY
do
&& skipdb=1 || : (6 Replies)
Discussion started by: glev2005
6 Replies
7. Red Hat
I have a table in one of my DB. The DB is about 300 gig - of that 249 gig is in this table. The data is somewhat important but even if we delete half of it won't affect anybody.
I would like to reclaim some space back so my question is what would be the best approach to accomplish this task.... (6 Replies)
Discussion started by: newborndba
6 Replies
8. Shell Programming and Scripting
I want to create a conditional expression string and pass in an awk script. My script is as below...
comm="\$3 == "hello""
awk -F "^T" -v command="${comm}" ' {
if ( command ) { print "hye" }
}' testBut the statement "if ( command )" always evaluates to true which is not... (5 Replies)
Discussion started by: Saikat123
5 Replies
9. UNIX for Beginners Questions & Answers
Hello every one, I will love to know what is the best approach to take in obtaining books online.
I find it disturbing just googling a book online and downloading it without actually paying for it. I strongly believe that this is wrong and that i may not be able to unlock the key contents and... (2 Replies)
Discussion started by: despiragado
2 Replies
LEARN ABOUT CENTOS
gst-feedback
gst-feedback-0.8(1) User Commands gst-feedback-0.8(1)
NAME
gst-feedback-0.8, gst-feedback - generate debug information for GStreamer bug reports
SYNOPSIS
gst-feedback-0.8
gst-feedback [--gst-list-mm] [--gst-mm=string] [--print]
DESCRIPTION
gst-feedback-0.8 scans the system for various types of information that is useful to GStreamer developers to help diagnose user problems.
Depending on the type of bug report, it might be useful to attach gst-feedback output when you contact the developers.
Note: The current version of this script scans many directories: /usr/lib, /usr/local/lib, /home, /usr/include, /usr/local/include, and
/home (again) for various GStreamer installations. Depending on your system, you might not want to do this.
Note: gst-feedback-0.8 dumps a lot of information about a system. Some of this information might be considered sensitive. If this is a
concern, review the information before posting to a public forum such as the GStreamer bug tracking system.
gst-feedback is a wrapper script that runs the latest installed version of gst-feedback-X.X. For example, if both gst-feedback-0.7 and gst-
feedback-0.8 are installed on your system, gst-feedback runs gst-feedback-0.8.
OPTIONS
The following options are supported by gst-feedback only:
--gst-list-mm List found major/minor versions. This option displays the versions that are available.
--gst-mm=string Force major/minor version. This option enables you to specify a specific version to run, if you do not want to run the
default version.
--print Print wrapped command line. This option displays the command that will be run, and then runs the command.
EXAMPLES
Example 1: Generating Feedback Information
example% gst-feedback-0.8
Example 2: Generating Feedback Information and Redirecting Output and Errors to a File
example% gst-feedback-0.8 &> myfeedback
Example 3: Running the Wrapper Script and Displaying the Command Name
example% gst-feedback --print
/usr/bin/gst-feedback-0.8
FILES
The following files are used by this application:
/usr/bin/gst-feedback-0.Executable to generate debug info for GStreamer bug reports
/usr/bin/gst-feedback Wrapper script that runs the latest installed version of gst-feedback-X.X
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-media |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
gst-complete(1), gst-compprep(1), gst-inspect(1), gst-launch(1), gst-launch-ext(1), gst-md5sum(1), gst-register(1), gst-thumbnail(1), gst-
typefind(1), gst-xmlinspect(1), gst-xmllaunch(1), gstreamer-properties(1), libgstreamer-0.8(3), libgstgetbits(3)
NOTES
Original man page written by the GStreamer team at http://gstreamer.net/.
Updated by Brian Cameron, Sun Microsystems Inc., 2004.
SunOS 5.10 14 Oct 2004 gst-feedback-0.8(1)