9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
2. Linux
Hi Guys,
I have an issue whereby I package up an rpm and when I deploy it, the binary filesizes differ from what I packaged up from the SOURCE directory.
from source - -rwxrwxr-x 1 user group 685156 Sep 26 15:50 cybAgent.bin
after install - -rwxr-xr-x 1 user group 683388 Oct 16 11:10... (4 Replies)
Discussion started by: gazza-o
4 Replies
3. Shell Programming and Scripting
I currently have a shell script that utilizes the "Date" binary - this application is slightly different on OS X (BSD General Commmand) and Linux systems (gnu date). In particular, the version on OS X requires the following to get a date 14 days in the future "date -v+14d -u +%Y-%m-%d" where gnu... (1 Reply)
Discussion started by: colinjohnson
1 Replies
4. HP-UX
Hi,
I would like to know what is command or script to determine the a directory that seat on a logical volume and mount-point.
For example:
logical volume mount-point
------------ -------------
/dev/vg00/scenario /training/test
/dev/vg00/train ... (2 Replies)
Discussion started by: lamoul
2 Replies
5. Debian
Hi,
Anyone got a clue? is there some tool for it? couldnt find it in apt get, anyway i hope so cos i must build a patch management tool for work:P
Greetz. (10 Replies)
Discussion started by: X-ion
10 Replies
6. Solaris
If i know a daemon and it is running.. How can i know that daemon belongs to which package? (5 Replies)
Discussion started by: younus_syed
5 Replies
7. Solaris
Hi Folks,
Is there anyway I can determine the package set (or SIP) that a package belongs to. It doesn't seem that pkginfo does it?? I'm trying to remove a whole lot of unecessary packages, and it would be far more convenient if I could remove whole sets at a time instead of indivdual packages.... (0 Replies)
Discussion started by: brizrobbo
0 Replies
8. Shell Programming and Scripting
Hello,
How to i determine via ftp commandline if files on ftp server is ascii or binary files. Like every other comon windows ftp program does it automatically.
regards
Thomas (5 Replies)
Discussion started by: congo
5 Replies
9. Shell Programming and Scripting
let I executed the following command:
ls -lrt mdase mvfile test | grep '\.xml'
the output is :
-rw-r--r-- 1 surjya other 0 Sep 23 16:25 sample.xml
-rw-r--r-- 1 surjya other 0 Oct 5 16:11 tst2.xml
-rw-r--r-- 1 surjya other 0 Oct 5 16:12 test3.xml... (1 Reply)
Discussion started by: surjyap
1 Replies
Debian::Control(3pm) User Contributed Perl Documentation Debian::Control(3pm)
NAME
Debian::Control - manage Debian source package control files
SYNOPSIS
my $c = Debian::Control->new(); # construct a new
$c->read($file); # parse debian/control file
$c->write($file); # write to file
print $c->source->Source;
print $c->source->Build_Depends; # Debian::Dependencies object
$c->binary->{'libfoo-perl'}->Description(
"Foo Perl module
" .
" Foo makes this and that"
);
DESCRIPTION
Debian::Control can be used for representation and manipulation of Debian source package control files in an object-oriented way. It
provides easy reading and writing of the debian/control file found in Debian source packages.
FIELDS
source
An instance of Debian::Control::Stanza::Source class. Contains the source stanza of the Debian source package control file.
binary
A hash reference (actually Tie::IxHash instance) with keys being binary package names and values instances of
Debian::Control::Stanza::Binary class. Contains the information of the binary package stanzas of Debian source package control file.
CONSTRUCTOR
new Constructs a new Debian::Control instance.
The "source" field is initialized with an empty instance of Debian::Control::Stanza::Source and "binary" field is initialized with an
empty instance of Tie::IxHash.
METHODS
read file
Parse "control" in debian and populate "source" and "binary" accessors.
file can be either a file name, an opened file handle or a string scalar reference.
write file
Writes a debian/control-like file in file with the contents defined in the "source" and "binary" fields.
file can be either a file name, an opened file handle or a string scalar reference.
All dependency lists are sorted before writing.
is_arch_dep
Returns true if the package is architecture-dependent. This is determined by the "Architecture" field of the first binary package. If
it equals to "all", then the package is architecture-independent; otherwise it is architecture-dependent.
Returns undef if it is not possible to determine whether the package is architecture-dependent or not. This is the case when there are
no binary package stanzas present or the first has no "Archiitecture" field.
SEE ALSO
Debian::Control::Stanza::Source, Debian::Control::Stanza::Binary, Debian::Control::FromCPAN
COPYRIGHT & LICENSE
Copyright (C) 2009 Damyan Ivanov dmn@debian.org
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
perl v5.14.2 2012-01-15 Debian::Control(3pm)