05-22-2008
querry..including scripts into another script
is there any way to include or import one script into other
like application programs
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies
2. Shell Programming and Scripting
Hi, experts.
Whould anybody clear explay me difference and usage of these 3 commands (particulary in bash) :
exec
eval
source
I've tryed to read the manual pages but did not get much.
Also could not get something useful from Google search - just so much and so not exactly, that is... (3 Replies)
Discussion started by: alex_5161
3 Replies
3. Shell Programming and Scripting
In POSIX shell, we don't have arrays, but we can iterate over a list like this:
#!/bin/sh
list="Fred Barney Wilma Betty"
for i in $list; do echo $i; done
Fred
Barney
Wilma
Betty
But let's say we want "Mr. Slate" in the list.
We know we can't just stick him in there like this:... (5 Replies)
Discussion started by: mjd_tech
5 Replies
4. Shell Programming and Scripting
Hi
How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Discussion started by: anupdas
2 Replies
5. Shell Programming and Scripting
I am stuck on something that should really be simple, and was looking for some help..
I am new to shell scripting.Need help on this.....
The script is to find the stale nfs.
cat file
- - - - /abcd/1234
I am writing the script to check the nfs errors of above file
... (3 Replies)
Discussion started by: nareshkumar522
3 Replies
6. UNIX for Advanced & Expert Users
According to the POSIX specifications eval is a special shell built-in, which should imply that variable assignments specified together with it should remain in effect after the built-in completes. Thus one would expect IFS to be changed after this:
var=$'a\nb c'
$ IFS=$'\n' eval '
for i in... (4 Replies)
Discussion started by: Scrutinizer
4 Replies
7. What is on Your Mind?
Gents,
I have been working in a Solaris/Unix environment for about 9 months. I took some linux classses online before getting the job. But, I am not very good at scripting. I want to learn how to script. Do you think that I should start with Shell scripting or Perl? I wanted to continue with... (2 Replies)
Discussion started by: Pouchie1
2 Replies
8. Shell Programming and Scripting
Hi all,
some small script with eval turned me to crazy.
my OS is linux
Linux s10-1310 2.6.16.53-0.8.PTF.434477.3.TDC.0-smp #1 SMP Fri Aug 31 06:07:27 PDT 2007 x86_64 x86_64 x86_64 GNU/Linux
below script works well
#!/bin/bash
eval ssh remotehost date
eval ssh remotehost ls
below... (1 Reply)
Discussion started by: summer_cherry
1 Replies
9. Shell Programming and Scripting
anyone has any info on why this is complaining???
vivek@vivek-c5e55ef2e ~/TAC
$ zoneCounter=1
vivek@vivek-c5e55ef2e ~/TAC
$ optUsage1=23%
vivek@vivek-c5e55ef2e ~/TAC
$ eval eval echo "<th>Zone $zoneCounter </th><th align=\"left\"> \$optUsage$zoneCounter </th>"
-bash: syntax error... (1 Reply)
Discussion started by: vivek d r
1 Replies
10. Shell Programming and Scripting
anyone has any info on why this is complaining???
vivek@vivek-c5e55ef2e ~/TAC
$ zoneCounter=1
vivek@vivek-c5e55ef2e ~/TAC
$ optUsage1=23%
vivek@vivek-c5e55ef2e ~/TAC
$ eval eval echo "<th>Zone $zoneCounter </th><th align=\"left\"> \$optUsage$zoneCounter </th>"
-bash: syntax error... (13 Replies)
Discussion started by: vivek d r
13 Replies
LEARN ABOUT DEBIAN
rant-import
rant-import(1) rant-import rant-import(1)
NAME
Rant - Flexible, Ruby based make
SYNOPSIS
The rant-import command creates a monolithic rant script tailored to the needs of your project and thus removes the dependency on an Rant
installation (but of course one person needs an Rant installation to run rant-import).
Run the command with the --help option to get a brief help message:
% rant-import --help
Probably the easiest way to create your monolithic rant script is with the --auto option:
% rant-import --auto ant
This will write a monolithic rant script to the file ant in the current directory. To determine which plugins and imports your project is
using, it performs step 2 of the rant command as described in doc/rant.rdoc, which means that it loads the Rantfile in the current direc-
tory.
That one command should be enough:
% ruby ant
This script has the same behaviour as the rant command. Distribute it with your project and nobody else but you needs an Rant installation.
FURTHER INFORMATION
For more information on Rant see: <http://make.rubyforge.org/>
<http://make.rubyforge.org/files/doc/rant-import_rdoc.html>
AUTHOR
Rant is by Stefan Lang
This package is maintained by Ralph Amissah
SEE
rant(1)
version 0.5.6 July 26, 2006 rant-import(1)