Hi,
I am calling a script script2.shl from script1.shl as below
script2.shl "TABLE_NAME" -r 10
In that I have to validate the parameter 4.
i.e : it should be only 10 20 30 40 50
I know that I can do it by checking like below
if ]; then
echo "TRUE"
else
echo "FALSE"
fi
... (3 Replies)
Hi there,
I hope, that I do not open an thread, that is already existing, but I didn't found something matching with my problem while searching for problems with "getopts"
My problem ist, that I'm taking arguments from commandline into my script with getopts, I've an flag -s, after that there... (2 Replies)
Hi,
I am using curl to hit a url using http in solaris 10 using commandline, I want to transfer an attachment(using multipart curl -F) also as a part of the request. If anyone has used kindly help me with the syntax. I am using below command:
/usr/local/bin/curl -v... (1 Reply)
I have a script that has commandline switches that work no problem. But i don't know how to enable it to have multiple switches at one time. So I'd want
myscript -h -o or even myscript -ho but i'm having no luck incorporating this. I tried shifting but i'm not getting it. Thanks
----------... (0 Replies)
Hey there,
I just stumbled upon a difference between using awk on the commandline and using it in a shellscript.
I have a variable, e.g.: PROG=vim
then i want to check if the package with this name is installed: TEMPVAL=$(dpkg -l | awk '{ if ($2 == "$PROG") print $2 }') (Im using... (10 Replies)
as you probably/may know, one can open any application from the
application folder with the command
open -a program_name
I found that out today and so I created aliases in .bash_profile and
they work.
alias safari="open -a safari"
alias gimp="open -a gimp"
alias seamonkey="open -a... (0 Replies)
Hello,
This would be very basic question to most of you, but for me as a newbie it is an un-know.
I would like to load a configuration file into memory before executing a specific command. For example: I have a config file that holds all the database connectivity information and I'd like to... (5 Replies)
Hello all,
I have a question regarding the difference betwen cron and command line.
What I would like to do is to print a statement into a logfile if a script has been executed from cron or from command line.
It should be as:
#!/bin/bash
if <Check if this script has been... (3 Replies)
Discussion started by: API
3 Replies
LEARN ABOUT DEBIAN
wml::des::rollover
wml::des::rollover(3) EN Tools wml::des::rollover(3)NAME
wml::des::rollover - RollOver-Style Image-Button
SYNOPSIS
#use wml::des::rollover
<rollover [attributes]>
DESCRIPTION
One of the most interesting trick to make a webpage more interactive is the so-called rollover effect commonly known from window system
GUIs. The idea is simply to change the underlaying image when the mouse rolls over it. Additionally when a mouse click occurs over the
image it acts like a button and jumps to a new URL.
Although there are more then one way to achieve this optical effect, to use the client-side scripting-language JavaScript currently is the
best solution. But here only those variants can be used which provide the "image" object. Netscape version 3 and 4 and Internet Explorer 4
support this. But the generated code of this "<rollover>" tag is backward-compatible with all types of browsers.
ATTRIBUTES
name
The name of the image. Just for internal usage to bind the correct image objects to the image tag.
src The normal image which is displayed when the mouse is not over the image.
oversrc
The image which is displayed when the mouse is over the image.
href
The URL for the hyperlink which gets activated when the mouse clicks into the image.
alt This string is displayed in text-only browsers or browsers which have images disabled at the place where the image stays. Additionally
it is displayed in the browsers status line when the mouse is over the image.
target
This sets the "target" attribute for the surrounding anchor ("<a>") tag. Use this for redirecting the hyperlink to different target
area, i.e. usually when using frames or multiple windows.
:a:ATTR=STR :img:ATTR=STR
The ``ATTR=STR'' pairs are passed along to the "<a>" and "<img>" HTML tags.
AUTHOR
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
REQUIRES
Internal: P1, P2
External: JavaScript (BROWSER)
SEE ALSO
HTML 3.2 "<img>" and "<a>" tags, JavaScript: http://home.netscape.com/eng/mozilla/3.0/handbook/javascript/
EN Tools 2014-04-16 wml::des::rollover(3)