03-09-2008
Thanks. That was it. Strange that the website from where I am learning shell scripting has it elsif everywhere..hmm.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
In one of my scripts I do the following
sort +0 x > y
mv y x
In my script x and y are fully qualified. This works 99% of the time. However once in a while the system comes back and says that is cannot access y in the mv command.
I did some research and I suspect that if I insert a... (7 Replies)
Discussion started by: gillbates
7 Replies
2. UNIX for Dummies Questions & Answers
Hi guys !!
well i'm still new in learning UNIX , and actually i'm still studying it by myself ..
anyway, some people told me the Bourne-again shell is a good version of UNIX to work on , and i tried to download yesterday but i didn't know how to start it ...... the ReadMe file associated with... (3 Replies)
Discussion started by: mrsamer
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I get an error when executing this sample script.
#!bin/sh
if ;
then
echo "you need to enter the release as the first parameter"
elif ;
then
echo "HI how are you ABC"
echo "Hi how are you XYZ"
echo " hi how are you all"
else
echo "using the $1 as input parameter"
fi
i get... (4 Replies)
Discussion started by: arun_st
4 Replies
4. Shell Programming and Scripting
I have having problems with an IF statement in my perl script:
if ($model eq "N\\A") {}
elsif ($kernel =~ m/xen/) {
$model = ("Virtual Machine\n")};
What i am trying to accomplish is if the model is set to "N\A" and the kernel variable has xen somewhere in it i would like to change... (3 Replies)
Discussion started by: insania
3 Replies
5. Shell Programming and Scripting
I do not claim to be an expert, but I have done things with scripts that whole teams of folks have said can not be done. Of course they should have said we do not have the intestinal fortitude to git-r-done.
I have been using UNIX actually HPUX since 1992. Unfortunately my old computer died and... (7 Replies)
Discussion started by: awk_sed_hello
7 Replies
6. Shell Programming and Scripting
Hi All
I have writing a Korn Shell script to execute it on many of our servers. But some servers don't have Korn Shell installed, they use Borne Shell.
Some operations like calculation don't work :
cat ${file1} | tail -$((${num1}-${num2})) > ${file2}
Is it possible to activate Korn Shell... (3 Replies)
Discussion started by: madmat
3 Replies
7. UNIX for Dummies Questions & Answers
Here's the input:
alpha, numeric or alphanumeric string ("line 1 string")
numeric string ("line 2 string")
numeric string ("line 3 string")
numeric string ("line 4 string")
...
where
- each numeric string is in a pattern that can be matched with RE but
- there can be any number of... (2 Replies)
Discussion started by: uiop44
2 Replies
8. Shell Programming and Scripting
Could some one tell me the difference btw Bourne shell and the Kshell? Which is more flexible and reliable in terms of portability and efficiency. When i type the following command ..
$ echo $SHELL
yields me
/bin/sh
Does this tells me that I am in Bourne shell. If yes, how can i get... (6 Replies)
Discussion started by: bobby1015
6 Replies
9. Cybersecurity
A severe vulnerability was discovered in Bourne shell.
Just google for: bash vulnerability
... for more details. (5 Replies)
Discussion started by: Cochise
5 Replies
10. Shell Programming and Scripting
have issue where my elsif is always failing. Basically i have a file with sets of 2 lines, the 1st line that containing "ipwr" and the 2nd line containing a value or "unknown". if the 2nd line contains a value then i want to print the pair of lines.
open (INFO, "temp.txt") or die;
... (3 Replies)
Discussion started by: johnny921
3 Replies
LEARN ABOUT DEBIAN
qvideoob
QVIDEOOB(1) General Commands Manual QVIDEOOB(1)
NAME
qvideoob - Qt application to search and play videos on various websites
SYNOPSIS
qvideoob [-h] [-dqv] [-b backends] ...
qvideoob [--help] [--version]
DESCRIPTION
Qt application allowing to search videos on various websites and play them.
Supported websites:
* arte (Arte French and German TV)
* canalplus (Canal Plus French TV)
* cappedtv (Capped.tv demoscene website)
* dailymotion (Dailymotion video streaming website)
* francetelevisions (France Televisions video website)
* ina (INA French TV video archives)
* nolifetv (NolifeTV French video streaming website)
* radiofrance (Radios of Radio France: Inter, Info, Bleu, Culture, Musique, FIP, Le Mouv')
* youjizz (YouJizz pornographic video streaming website)
* youporn (YouPorn pornographic video streaming website)
* youtube (YouTube video streaming website)
OPTIONS
--version
show program's version number and exit
-h, --help
show this help message and exit
-b BACKENDS, --backends=BACKENDS
what backend(s) to enable (comma separated)
LOGGING OPTIONS
-d, --debug
display debug messages
-q, --quiet
display only error messages
-v, --verbose
display info messages
--logging-file=LOGGING_FILE
file to save logs
-a, --save-responses
save every response
COPYRIGHT
Copyright(C) 2010-2011 Romain Bignon
For full COPYRIGHT see COPYING file with weboob package.
FILES
"~/.config/weboob/backends"
"~/.config/weboob/qvideoob"
SEE ALSO
Home page: http://weboob.org/applications/qvideoob
qvideoob 0.c 04 May 2012 QVIDEOOB(1)