9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello... and thanks in advance for in help anyone can offer me
I'm poking around the GNU Info command... It's a lot different from man pages (Including holding much more information) but I'm having issues navigating it... And it's frustrating the hell out of me!
My problem is when I go to... (1 Reply)
Discussion started by: bodisha
1 Replies
2. Shell Programming and Scripting
Good morning!
I need your help again.
I have some perl file. This file, to work, needs to be executed in appropriate directory, e.g. /mnt/disck/new files/abc/003
I need a shell script which:
1) will go to /mnt/disk2/new files/abc/003/perl.pl
2) execute it
3) go to the next directory... (7 Replies)
Discussion started by: ramirez987
7 Replies
3. UNIX for Dummies Questions & Answers
I would be very happy (after a lot of fruitless searching) if someone could explain the meaning of these variations on the ls command:
ls */
ls */.
ls */./
I understand the basic use of ls already eg ls -al but am wanting to list from different points in the file structure without having to... (4 Replies)
Discussion started by: bloodrule
4 Replies
4. Shell Programming and Scripting
Hi All
Below is Code, It opens a link from which it ask a login name and password, the script enter the login name and password and navigate to next page..
In the next page there is a drop down box from which i have to select a value, I have written the code but it gives error
#!/usr/bin/perl... (3 Replies)
Discussion started by: parthmittal2007
3 Replies
5. Shell Programming and Scripting
Hi Folks,
I have a script that I am using. The files are in Directory c:\files\change\options
In that directory I have many other sub folders like R1 R2 R5 E4 etc...
When I run this script in windows, It looks like its just changing the first folder R1 and not the rest.
Can I get an... (6 Replies)
Discussion started by: richsark
6 Replies
6. Shell Programming and Scripting
Hi experts,
Sorry if it is repeated query.
I have folder that contains many files & folders. But I need to get the list of folders with the following format "1.0.0.0.003X", 1.0.0.0.004X..and so on. How do I get the same using perl?
I have this script which will do the listing.
$dir... (1 Reply)
Discussion started by: amvarma77
1 Replies
7. Shell Programming and Scripting
I'm trying to design a script that will check the external ip address of my home network and then assign it to the A record of a subdomain. When i started, i thought i could do this with SSH, but turns out I don't have ssh access to update the DNS record (not surprising i suppose)
So now, i... (2 Replies)
Discussion started by: boyincity
2 Replies
8. UNIX for Dummies Questions & Answers
When I log on to my unix session I have a default location. But I need to navigate 3 directories up then 6 directories down to where I want to be. There must be a way to create some sort of short cut from my defeault location to my required location. Can anyone help? (4 Replies)
Discussion started by: jjaggii
4 Replies
9. Shell Programming and Scripting
i am new to perl. i am writing a perl script. i want to know how to change the working directories? for ex. i have a perl script in c:\proj\ . i want to run this script in this directory but i need my script to change its working directory to D:\xyz\ dynamically in the script.
your help is... (1 Reply)
Discussion started by: megastar
1 Replies
DH_METAINIT(1) User Contributed Perl Documentation DH_METAINIT(1)
NAME
dh_metainit - install metainit files into package build directories
SYNOPSIS
dh_metainit [debhelper options] [--name=name] [-n] [-o]
DESCRIPTION
dh_metainit is a debhelper program that is responsible for installing metainit files (for further creation of initscripts via the update-
metainit facility) into package build directories.
It also automatically generates the postinst and postrm and prerm commands needed to create the appropriate initscripts for the init system
employed on the user machine.
Important: If generated postinst script finds /etc/init.d/ or /etc/default files with the same name as the shipped metainit files, and
these are conffiles from non-installed packages (probably earlier version of this package) they are removed (or renamed if the user has
modified them). This works only if the name of the new metainit is the same as the name of the old init.d and default file, otherwise you
will have to remove these files yourself. See http://wiki.debian.org/DpkgConffileHandling for that.
If a file named debian/package.metainit exists, then it is installed into etc/metainit/package in the package build directory, with "pack-
age" replaced by the package name.
OPTIONS
-n, --noscripts
Do not modify postinst/postrm/prerm scripts.
-o, --onlyscripts
Only modify postinst/postrm/prerm scripts, do not actually install any metainit files. May be useful if the init script is shipped
and/or installed by upstream in a way that doesn't make it easy to let dh_metainit find it.
--name=name
Install the metainit script using the filename name instead of the default filename, which is the package name. When this parameter is
used, dh_metainit looks for and installs files named debian/package.name.metainit, instead of the usual debian/package.init.
--error-handler=function
Call the named shell function if running the init script fails. The function should be provided in the prerm and postinst scripts,
before the #DEBHELPER# token.
NOTES
Note that this command is not idempotent. "dh_clean -k" should be called between invocations of this command. Otherwise, it may cause mul-
tiple instances of the same text to be added to maintainer scripts.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Urs Ganse <urs@nerd2nerd.org> based on dh_installinit by Joey Hess <joeyh@debian.org>
perl v5.8.8 2007-07-30 DH_METAINIT(1)