04-11-2010
How do you Declare a Display variable within a script....
These are commands which output the contents inside the declaration
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Gurus,
I've been tasked with solving a problem at my new job and I'm stumped. We've got a script that dynamically builds an oracle export parameter files and then runs export from the shell. it runs fine when using the shell, but will NOT run (fails in one spot everytime) when entered... (1 Reply)
Discussion started by: jsheehan223
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I made this script for TRU Unix 5.1 OS based Node.
When the script was run manually all the commands were running properly. But when it was run from Crontab, one command is not running.
This command is not running when the script is running from Crontab:
#... (2 Replies)
Discussion started by: mystition
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
Whenever I run crontab -e from my remote terminal logged onto a SunOS 5.6 machine I get this:
root@beauvert:~> crontab -e
3495
-----
I think I have to set the terminal/editor. These are my environment variables:
root@beauvert:~> set
EDITOR vi
PATH ... (5 Replies)
Discussion started by: mojoman
5 Replies
4. Red Hat
Hi,
I'm trying the backup a few information commands of my Check Point FW (it's on a SPLAT linux machine). This is the script I wrote:
#!/bin/bash
cd /var/tmp/
file1=netstat_`/bin/date +%d%m%y`.txt
file2=ifconfig_`/bin/date +%d%m%y`.txt
file3=cpstatos_`/bin/date +%d%m%y`.txt... (2 Replies)
Discussion started by: nirsh
2 Replies
5. Shell Programming and Scripting
Hi,
Can someone please help me here with this one.
This is my script:
# more tosh.sh
#!/usr/bin/ksh
clear
. /home/oracle/.profile
echo "Good morning, world."
export ORACLE_HOME=/u01/app/oracle/product/9.0.1
export PATH=$ORACLE_HOME/bin:/usr/local/bin
export ORACLE_SID=xxxx
... (11 Replies)
Discussion started by: santoshpayal
11 Replies
6. Shell Programming and Scripting
Hi, I posted this in the Solaris forum but I think this one would be more appropriate.
I created a script starting with the following lines:
#!/usr/bin/ksh
flag=n
export flag
typeset -i quant=0
(...)
When running it I'm getting the following 2 errors:
/tmp/tstscript/testfail.ksh:... (9 Replies)
Discussion started by: Cvg
9 Replies
7. UNIX for Advanced & Expert Users
Hi,
I have created the below script,
set -x
# Set the Path of Environment file
ENV_FILE_DIR=/opt/app/p1trp1c1/sybase/ecdwqdm/xrbid/QDM_Prod/bin
LOG_DIR=/opt/app/p1trp1c1/sybase/ecdwqdm/xrbid/QDM_Prod/log
export ENV_FILE_DIR
export LOG_DIR
# Set Audit Environment
. ${ENV_FILE_DIR}/QDM.env... (8 Replies)
Discussion started by: yohasini
8 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I am having the below script to be run from crontab, it it doesnt run.
1 * * * * /home/cobr_ext/test.sh > /home/cobr_ext/temp.txt
when i run i manally it runs without any issues.
Could please help me as to why doesnt it run the script.:( (7 Replies)
Discussion started by: abhi_123
7 Replies
9. Solaris
Hi guys!
I created a backup script that works fine when I run manually, but when I put a crontab job to execute it the result are not the expected. (not a time problem).
Here is my script:
bash-3.00# cat /bk_tool/backup2.sh
#!/usr/bin/csh
clear
set DIR_HOST='SCP08'
... (3 Replies)
Discussion started by: andredemartini
3 Replies
10. UNIX for Dummies Questions & Answers
Hi!
I'm using a RaspberryPi with standard Raspbian.
Currently I'm working on some sort of weather station.
For now I have three python scripts - one which is updating txt files for website - update1m.py ( it will not be necessary in few next days so I'll delete it) , second one for updating... (4 Replies)
Discussion started by: bartocham
4 Replies
LEARN ABOUT DEBIAN
template::declare::tagset::rdf::em
Template::Declare::TagSet::RDF::EM(3pm) User Contributed Perl Documentation Template::Declare::TagSet::RDF::EM(3pm)
NAME
Template::Declare::TagSet::RDF::EM - Template::Declare TAG set for Mozilla's em-rdf
SYNOPSIS
# normal use on the user side:
use base 'Template::Declare';
use Template::Declare::Tags 'RDF::EM' => { namespace => 'em' }, 'RDF';
template foo => sub {
RDF {
attr {
'xmlns' => "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
'xmlns:em' => 'http://www.mozilla.org/2004/em-rdf#'
}
Description {
attr { about => 'urn:mozilla:install-manifest' }
em::id { 'foo@bar.com' }
em::version { '1.2.0' }
em::type { '2' }
em::creator { 'Agent Zhang' }
}
}
};
DESCRIPTION
Template::Declare::TagSet::RDF::EM defines a full set of Mozilla EM-RDF tags for use in Template::Declare templates. You generally won't
use this module directly, but will load it via:
use Template::Declare::Tags 'RDF::EM';
METHODS
new( PARAMS )
my $html_tag_set = Template::Declare::TagSet->new({
package => 'EmRDF',
namespace => 'em-rdf',
});
Constructor inherited from Template::Declare::TagSet.
get_tag_list
my $list = $tag_set->get_tag_list();
Returns an array ref of all the RDF tags defined by Template::Declare::TagSet::RDF. Here is the complete list:
"aboutURL"
"contributor"
"creator"
"description"
"developer"
"file"
"hidden"
"homepageURL"
"iconURL"
"id"
"locale"
"localized"
"maxVersion"
"minVersion"
"name"
"optionsURL"
"package"
"requires"
"skin"
"targetApplication"
"targetPlatform"
"translator"
"type"
"updateURL"
"version"
This list may be not exhaustive; if you find some important missing ones, please let us know. :)
AUTHOR
Agent Zhang <agentzh@yahoo.cn>
SEE ALSO
Template::Declare::TagSet, Template::Declare::TagSet::RDF, Template::Declare::TagSet::XUL, Template::Declare::Tags, Template::Declare.
perl v5.10.1 2010-12-08 Template::Declare::TagSet::RDF::EM(3pm)