08-04-2016
Remove the double quotes around the colour code.
This User Gave Thanks to RudiC For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
AAAHHH!! I've made a perl program that you can run on a web browser. This program needs to be run everyday, and I don't want to have to run it everyday. The problem is when I try running the program from my terminal, all it does is print stuff to the terminal page (the program involves a lot of... (4 Replies)
Discussion started by: sstevens
4 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have two shell scripts each executing a java process independently. These are two independent processes and I need to sequence them using another shell script. What I did was created another shell script and called these independent shell scripts in it.
It runs fine, however from time... (3 Replies)
Discussion started by: gupta_arunesh
3 Replies
3. Shell Programming and Scripting
Hi,
I am facing a issue in one of my script, Please help me on the same. Below I have the example.
Example:
I have two functions(host(),user()) in a single file named test1.ksh
File Name: test1.ksh
host () {
HOST=`hostname`
echo... (1 Reply)
Discussion started by: samvino
1 Replies
4. AIX
Greetings everybody,
I have an IBM P520 AIX 5.3 server machine and trying to use crontab to periodically excute a script that contains a command belongs to my software (Fast/Tools SCADA software)
I added the following line after using crontab -e
01 * * * * /mypath/myscript
I have two... (3 Replies)
Discussion started by: ayman metwally
3 Replies
5. UNIX for Advanced & Expert Users
hi all,
I had raised the same question a few weeks back but forgot to mention a lot of points ... so i am raising a new thread furnishing my requirement ... sorry for that ....
here is my problem.
i have a html that look like below
<tr class="modifications-oddrow">
<td... (2 Replies)
Discussion started by: sais
2 Replies
6. Shell Programming and Scripting
Hi
i am a newbie to unix /Linux .Please help
I have a following script which says that there is a syntax error :(
My program is
echo Enter two Numbers
read a b
if
echo First is greater
else
echo Second is greater
fi (3 Replies)
Discussion started by: Ravi Pavanv
3 Replies
7. Shell Programming and Scripting
hi
i am trying the below code for the following
|_
| |_
| |_ |_
| |_ |_ |_
| |_ |_ |_ |_
and for this code also
*
* *
* * *
* * * *
* * * * *
!/bin/bash
#i = "*" (2 Replies)
Discussion started by: kullu
2 Replies
8. Programming
Iam Trying to simulate a hardware "pci" by visual c++ program.....
" i don't have the hardware right now so i want to test my program"
the hardware is about to inter a number for example from switches compare it to other number also from switches.."which iam gonna take it from 1 textbox"...
1-... (0 Replies)
Discussion started by: fwrlfo
0 Replies
9. UNIX for Dummies Questions & Answers
Hi i want to run the cronjob from 7 Am till 11.30Am for every 5 minutes from monday to friday. can anyone help? (15 Replies)
Discussion started by: satheesh_charle
15 Replies
10. UNIX for Beginners Questions & Answers
can you please support me to understand what is wrong in this code, I am getting error as
sytnax error near unexpected token if
if then
code is
cat text.txt | /path/mapper.sh
data in file is
hi hi how how are you
while read line
do
for word in $line do
if then
wcount=`echo... (4 Replies)
Discussion started by: mirwasim
4 Replies
LEARN ABOUT DEBIAN
graphics::primitive::insets
Graphics::Primitive::Insets(3pm) User Contributed Perl Documentation Graphics::Primitive::Insets(3pm)
NAME
Graphics::Primitive::Insets - Space between things
DESCRIPTION
Graphics::Primitive::Insets represents the amount of space that surrounds something. This object can be used to represent either padding
or margins (in the CSS sense, one being inside the bounding box, the other being outside)
SYNOPSIS
use Graphics::Primitive::Insets;
my $insets = Graphics::Primitive::Insets->new({
top => 5,
bottom => 5,
left => 5,
right => 5
});
METHODS
Constructor
new Creates a new Graphics::Primitive::Insets.
Instance Methods
as_array
Return these insets as an array in the form of top, right, bottom and left.
bottom
Set/Get the inset from the bottom.
equal_to
Determine if these Insets are equal to another.
left
Set/Get the inset from the left.
right
Set/Get the inset from the right.
top Set/Get the inset from the top.
zero
Sets all the insets (top, left, bottom, right) to 0.
AUTHOR
Cory Watson, "<gphat@cpan.org>"
SEE ALSO
perl(1)
COPYRIGHT & LICENSE
Copyright 2008-2010 by Cory G Watson.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.3 2010-08-21 Graphics::Primitive::Insets(3pm)