Alien::Package::Tgz(3pm) User Contributed Perl Documentation Alien::Package::Tgz(3pm)NAME
Alien::Package::Tgz - an object that represents a tgz package
DESCRIPTION
This is an object class that represents a tgz package, as used in Slackware. It also allows conversion of raw tar files. It is derived
from Alien::Package.
CLASS DATA
scripttrans
Translation table between canoical script names and the names used in tgz's.
METHODS
checkfile
Detect tgz files by their extention.
install
Install a tgz with installpkg. Pass in the filename of the tgz to install.
installpkg (a slackware program) is used because I'm not sanguine about just untarring a tgz file. It might trash a system.
scan
Scan a tgz file for fields. Has to scan the filename for most of the information, since there is little useful metadata in the file
itself.
unpack
Unpack tgz.
prep
Adds a populated install directory to the build tree.
build
Build a tgz.
AUTHOR
Joey Hess <joey@kitenet.net>
perl v5.14.2 2011-07-07 Alien::Package::Tgz(3pm)
Check Out this Related Man Page
Alien::Package::Slp(3pm) User Contributed Perl Documentation Alien::Package::Slp(3pm)NAME
Alien::Package::Slp - an object that represents a slp package
DESCRIPTION
This is an object class that represents a slp package. It is derived from Alien::Package.
CLASS DATA
The following data is global to the class, and is used to describe the slp package format, which this class processes directly.
footer_size
Complete sizeof(slpformat) from slp.h in the stampede package manager source.
footer_packstring
This is the pack format string for the footer. (A=space terminated character, I=unsigned integer.)
footer_version
What package format are we up to now? (Lowest one this is still compatable with.)
archtrans
This is a translation table between architectures and the number that represents them in a slp package.
fieldlist
This is a list of all the fields in the order they appear in the footer.
FIELDS
compresstype
Holds the compression type used in the slp file.
slpkgversion
Holds the slp package format version of the slp file.
METHODS
checkfile
Detect slp files by their extention.
install
Install a slp. Pass in the filename of the slp to install.
getfooter
Pulls the footer out of the slp file and returns it.
scan
Implement the scan method to read a slp file.
unpack
Unpack a slp file. They can be compressed in various ways, depending on what is in the compresstype field.
build
Build a slp.
conffiles
Set/get conffiles.
When the conffiles are set, the format used by slp (a colon-delimited list) is turned into the real list that is used internally. The
list is changed back into slp's internal format when it is retreived.
copyright
Set/get copyright.
When the copyright is set, the number used by slp is changed into a textual description. This is changed back into a number when the
value is retreived.
arch
Set/get arch.
When the arch is set, the number used by slp is changed into a textual description. This is changed back into a number when the value
is retreived.
release
Set/get release version.
When the release version is retreived, it is converted to an unsigned integer, as is required by the slp package format.
AUTHOR
Joey Hess <joey@kitenet.net>
perl v5.12.3 2011-06-11 Alien::Package::Slp(3pm)
I have a huge matrix file containing some 1.5 million rows and 6000 columns. The matrix looks something like this:
1 2 3
4 5 6
7 8 9
3 4 5
I want to add all the numbers in the columns of this matrix and display the result to my stdout. This means that the numbers in the first column are:
... (2 Replies)
Hi,
Just trying to get to grips with sed and awk for some reporting for work and I need some assistance:
I have a file that lists policy names on the first line and then on the second line whether the policy is active or not.
Policy Name: Policy1
Active: yes
Policy... (8 Replies)
version info :
vi availabe with RHEL 5.4
I have a text file with 10,000 lines. I want to copy lines from 5000th line to 7000th and redirect to a file. Any idea how I can do this?
Note:
The above scenario is just an example. In my actual requirement, the file has 14 million lines and I want... (9 Replies)
Hi everyone,
I know the following questions are noobish questions but I am asking them because I am confused about the basics of history behind UNIX and LINUX.
Ok onto business, my questions are-:
Was/Is UNIX ever an open source operating system ?
If UNIX was... (21 Replies)
Hello,
I couldn't find an actual introduction thread, so I decided to just put this here.
I go by d0wngrade online. I have been programming in multiple languages for about 15+ years. I started with standard web design languages like HTML and CSS, but I then advanced from design to development... (2 Replies)
Hi guys...
The first active code line in AudioScope.sh is set -u .
This causes a complete exit if a variable is used/found but has not been allocated at the start of the program.
However, apart from writing code to do the task, is there a switch to to check which variables have been... (17 Replies)
Hi.
In thread https://www.unix.com/shell-programming-and-scripting/267833-grouping-counting.html rovf and I had a mini-discussion on grep and awk.
Here is a demo script that compares the awk and grep approaches for this single problem:
#!/usr/bin/env bash
# @(#) s2 Demonstrate group... (1 Reply)
Hello,
I have to fish out some specific columns from a file based on the header value. I have the list of columns I need in a different file. I thought I could read in the list of headers I need,
# file with header names of required columns in required order
headers_file=$2
# read contents... (11 Replies)
For those interested in installing dash shell on OSX Lion to help test POSIX compliancy of shell scripts, it is quite easy. I did it like this:
If you don't have gcc on your system:
0. Download and install the Command Line Tools for Xcode package from Sign In - Apple *
1. Download the dash... (2 Replies)
Hello and thanks in advance for any help anyone can offer me
I'm trying to learn the find command and thought I was understanding it... Apparently I was wrong. I was doing compound searches and I started getting weird results with the -size test. I was trying to do a search on a 1G file owned by... (14 Replies)
I have data of an excel files as given below,
file1
org1_1 1 1 2.5 100
org1_2 1 2 5.5 98
org1_3 1 3 7.2 88
file2
org2_1 1 1 2.5 100
org2_2 1 2 5.5 56
org2_3 1 3 7.2 70
I have multiple excel files as above shown.
I have to copy column 1, column 4 and paste into a new excel file as... (26 Replies)
Dear All,
Taking a break from Vue.js coding for the site, SEO and YT videos; and hopefully addressing some well deserved criticism from some here that I have been too focused on the visual aspects of the forums versus the substance and the community....
While the "current generation... (9 Replies)
Hi all...
Well guys and gals, I jumped in at the deep end and found things that PERL cannot do by default.
Many tricky terminal escape codes are not catered for so I had to create workarounds.
One thing I searched for was this:
Passing perl variable to shell command
AND, @Neo this was... (15 Replies)