11-23-2004
perl package directories - what if the script is diff DIR to the one contain *.pm?
Hi there,
say the package is in the ~/ and it's ~/packageFoo.pm
I can use usePackage.pl in ~/ (~/usePackage.pl).
Now, if I move it to ~/subDIR/usePackage.pl, the script won't work because it's not in the same DIR with packageFoo.pm
How can i fix it?
Thanks
Gusla
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all
i wander what is the best way to make diff between 2 directories and perform diff of 2 kinds
the first is the names of the files on each directory , and the second diff is between the content of
each file and the corresponding file and the second dir.
Thanks for the help (5 Replies)
Discussion started by: umen
5 Replies
2. Shell Programming and Scripting
Hi,
i am new to perl scripting.. i am still learing it.. i am asked to write a perl script which should compare 2 coloums of 2 different files. if those 2 coloumn are same the script should store the both the lines in 2 diff files.
these are files,
file 1:
21767016 226112 char
19136520... (3 Replies)
Discussion started by: vasuki
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I want to be able to compare two different files in two different directories. I have a development server set up on one domain and a live server set up on another.....I need to be able to compare files on these two servers.
Any ideas? (2 Replies)
Discussion started by: elduderino
2 Replies
4. Shell Programming and Scripting
Im working on a project that basically imitates the find and whereis commands. The program will take in a file name or regular expression and, starting with the current directory search downwards and match any files with that pattern and prints the path name. I don't understand how to do this... (5 Replies)
Discussion started by: new2C
5 Replies
5. UNIX for Dummies Questions & Answers
Hey all,
i want to copy only the file names from an ftp server (directory and all sub directory) to a text file in another server (non ftp), i.e. i want to recursively move through directories and copy only the names to a text file.
any help is appreciated...thank you in advance (1 Reply)
Discussion started by: deking
1 Replies
6. Shell Programming and Scripting
I have two directories that are mostly the same:
dir1
dir2
Is there an easy way to take the output of diff and copy files from dir1 that do not exist in dir2 - but copy them to the same path (many nested directories).
am only trying to copy files in dir1 that do not exist in dir2.
... (5 Replies)
Discussion started by: jvsrvcs
5 Replies
7. 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
8. Shell Programming and Scripting
Hi ,
i am looking for a perl script to grep for a string in all files inside a directory .
bash command .
grep -r 'word' /path/to/dir
Thanks,
Nvil (3 Replies)
Discussion started by: nevil
3 Replies
9. Shell Programming and Scripting
Hi All,
I have transferred some directory structures from server1 to server2 by creating a tar files. Now i need to cross check whether I transferred entire structures or not.
Is there any command to check this on each individual server.
Thanks (2 Replies)
Discussion started by: nag_sathi
2 Replies
10. Shell Programming and Scripting
Hi all,
I have 2 directories on two different servers. I am trying to find out what is missing from directory X and what is missing from directory Y. they should both have the same exact files in them.
I understand some files may be missing from both directories on each server. I am not sure... (8 Replies)
Discussion started by: jeffs42885
8 Replies
LEARN ABOUT DEBIAN
debconf-updatepo
DEBCONF-UPDATEPO(1) po-debconf DEBCONF-UPDATEPO(1)
NAME
debconf-updatepo - update PO files about debconf templates
SYNOPSIS
debconf-updatepo [-v] [-h] [--podir=DIR] [--skip-pot] [--skip-merge] [--msgid-bugs-address=EMAIL]
DESCRIPTION
This program reads po/POTFILES.in to determine which master files need to be processed, then extracts new gettext strings into
po/templates.pot and updates all po/*.po files. This script can be called either in the top-level directory, or in the debian or debian/po
subdirectories. It is run by developer and/or translator to update PO files when the English text is modified in templates files.
OPTIONS
-h, --help
Display a usage summary and exit.
-v, --verbose
Process in verbose mode.
--podir=DIR
Set directory for PO files. By default PO files are searched in debian/po, po and ../po directories in that order.
--skip-pot
Do not generate a new po/templates.pot file.
--skip-merge
Do not merge existing PO files with po/templates.pot.
--msgid-bugs-address=EMAIL
Set the email address that will be specified in the POT's Report-Msgid-Bugs-To field.
By default, this field is set to <package>@package.debian.org.
It is intended for the maintainers of Debian based distributions, and should be used in the following cases:
o The package is not present in Debian (and thus the <package>@packages.debian.org address does not exist).
o The maintainer made significant changes in the debconf templates (or added templates to a Debian package without templates), and
does not want to bother the Debian maintainer with bug reports that won't be relevant for the Debian maintainer.
The default address is preferred to avoid corrections in the Debian based distribution without a notification to the Debian maintainer.
SEE ALSO
debconf-gettextize(1), po2debconf(1), podebconf-report-po(1), po-debconf(7).
AUTHOR
Denis Barbier <barbier@linuxfr.org>
2011-12-29 DEBCONF-UPDATEPO(1)