10-25-2011
It is quite normal since that test is for "file" and file is one... So what is to follow?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I am new in perl and in regular exprecion; so I am looking for help (or an experienced advise.)
The target is a triming spaces from a string: i.e., remove spases from begining and from end of a string.
One of main point of a searched solution is performance: for current task it is... (2 Replies)
Discussion started by: alex_5161
2 Replies
2. Shell Programming and Scripting
Does awk have a syntax for a range of numbers or is this the best way?
if ($1 >= 0 && $1 <= 9 ) (7 Replies)
Discussion started by: Arsenalman
7 Replies
3. Programming
Hi,
I am trying to write a regular expression in perl to check if the string end's with "numbers-numbers" or "-numbers".
I experimented something like m/\d*-\d*$/ , but this is not solving my problem.
Can anyone help me in writing this expression?
Well spelled titles and proper use of code... (2 Replies)
Discussion started by: successlin
2 Replies
4. UNIX for Advanced & Expert Users
Hi all,
I need to do scrip for printing starting and ending numbers along with count in given file.:wall:
Input: a.txt
10000030
10000029
10000028
10000027
10000026
10000024
10000023
10000021
10000018
10000018
10000017
10000016
10000015
10000014 (2 Replies)
Discussion started by: jackbell2013
2 Replies
5. Shell Programming and Scripting
Hi
This is my first post and I'm just a beginner. So please be nice to me.
I have a couple of html files where a pattern beginning with "http://www.site.com" and ending with "/resource.dat" is present on every 241st line. How do I extract this to a new text file?
I have tried sed -n 241,241p... (13 Replies)
Discussion started by: dejavo
13 Replies
6. Shell Programming and Scripting
Hello,
Here is my text data excerpted from the webpage:
input
My target is to get:
What i tried is:
sed 's/.*\(connector\)/1/' input > output
but all characters coming before the word "connector" are deleted which is not good for me.
My question: (9 Replies)
Discussion started by: baris35
9 Replies
7. UNIX for Beginners Questions & Answers
Hello,
I need help on finding with an if statement or with a command a file that exist in lets suppose /folder with the name ABC* but i need to get the last file generated with that name and fi the file exist then do an echo and if not do another echo
Please help (7 Replies)
Discussion started by: RoronoaZoro
7 Replies
8. Shell Programming and Scripting
Hello,
I'm new of this forum and have very very old and rusty memories of shell scripting (my latest script dates back to about 20 years ago !).
My need is following:
I'm testing a software that make a backup, but at now is not implemented the email report (the sw is in beta).
I'm trying to... (1 Reply)
Discussion started by: dadep
1 Replies
9. UNIX for Beginners Questions & Answers
im trying to search for a WORD in a file which
begins with a number
followed by a hypen
follwed multiple words
and end with a dot "."
and pront the entire line which matches the above.
Please note that there is a space at the begining of each line
i/p file
19458 00000-CONTROL-PARA.... (5 Replies)
Discussion started by: anijan
5 Replies
10. Shell Programming and Scripting
I have several line in a text file. for example
I like apple;
I like apple
I like orange;
Output: I like apple
I try to useif grep -q "!\;$"; then (Not work)
Please use CODE tags when displaying sample input, sample output, and code segments (as required by forum rules). (1 Reply)
Discussion started by: cmdcmd
1 Replies
LEARN ABOUT DEBIAN
bbcombotest
BBCOMBOTEST(1) General Commands Manual BBCOMBOTEST(1)
NAME
bbcombotest - Xymon combination test tool
SYNOPSIS
bbcombotest --help
bbcombotest --version
bbcombotest [--debug] [--quiet]
DESCRIPTION
bbcombotest is a Xymon extension script that runs on the BBDISPLAY server. It combines the results of one or more of the normal Xymon test
results into a combined test result, using standard arithmetic og logical operators.
The resulting tests are sent to the Xymon display server as any normal test - so all of the standard Xymon functions (history, statistics
etc.) are available for the combined tests.
The tool was born from the need to monitor systems with built-in redundancy and automatic failover - e.g. load-balanced web servers. But
other uses are possible.
OPTIONS
--quiet
Normally, the test status sent by bbcombotest includes information about the underlying test results used to determine the current
value of the combined test. "--quiet" eliminates this information from the test status page.
--debug
Provide debugging output for use in troubleshooting problems with bbcombotest.
--no-update
Dont send any status messages - instead, the result of the combotests is simply dumped to stdout. Useful for debugging.
FILES
$BBHOME/etc/bbcombotest.cfg
Configuration file for bbcombotest, where the combined tests are defined
$BBHOME/etc/hobbitlaunch.cfg
Configuration file controlling when bbcombotest is run.
SEE ALSO
bbcombotest.cfg(5), bb-hosts(5), hobbitserver.cfg(5), hobbitlaunch.cfg(5)
Xymon Version 4.2.3: 4 Feb 2009 BBCOMBOTEST(1)