02-17-2008
May or may not be possible. Depends on the type of hardware. For most IPF models, machinfo should work.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file with a list of config files numbered on the lefthand side 1-300. I need to have bash read each lines number and assign it to a variable so it can be chosen by the user called by the script later.
Ex. 1 some data
2 something else
3 more stuff
which number do you... (1 Reply)
Discussion started by: glev2005
1 Replies
2. Shell Programming and Scripting
Hi experts a have a very large file and I need to add two columns: the first one numbering the incidence of records and the another with the total count
The input file:
21 2341 A
21 2341 A
21 2341 A
21 2341 C
21 2341 C
21 2341 C
21 2341 C
21 4567 A
21 4567 A
21 4567 C
... (6 Replies)
Discussion started by: juelillo
6 Replies
3. Shell Programming and Scripting
I have a txt file as database. when i run my program what it does is it ask me for 3 name and stored in the file as
name1:name2:name3:1
when u enter 3 name it add those in file as above format and add 1 at the end. I what i want is if i enter same names again it changes that 1 to 2 and so... (3 Replies)
Discussion started by: Learnerabc
3 Replies
4. Shell Programming and Scripting
Dear Perl users,
I need your help to solve my problem below.
I want to print the sequence number without missing number within the range.
E.g. my sequence number :
1 2 3 4 5 6 7 8 11 12 13 14
my desired output:
1 -8 , 11-14
my code below but still problem with the result:
1 - 14
1 -... (2 Replies)
Discussion started by: mandai
2 Replies
5. Shell Programming and Scripting
I would like to print the number of records of 2 files, and divide the two numbers
awk '{print NR}' file1 > output1
awk '{print NR}' file2 > output2
paste output1 output2 > output
awl '{print $1/$2}' output > output_2
is there a faster way? (8 Replies)
Discussion started by: programmerc
8 Replies
6. Shell Programming and Scripting
Hi Power User,
I'm trying to compute this kind of text file format:
file1:
jakarta 100 150
jakarta 170 210
beijing 220 250
beijing 260 280
beijing 290 320
new_york 330 350
new_york 370 420
tokyo 430 470
tokyo 480 ... (2 Replies)
Discussion started by: anjas
2 Replies
7. Shell Programming and Scripting
Input file:
ID_34 2E-69 2324
ID_1 0E0 3254
ID_1 0E0 5434
ID_5 0E0 436
ID_1 1E-14 2524
ID_1 5E-52 46437
ID_3 65E-20 45467
ID_1 0E0 6578
...
Desired output file:
ID_1 0E0 6578
ID_1 0E0 5434
ID_1 0E0 3254
ID_1 5E-52 46437
ID_1 1E-14 2524
ID_3 65E-20 45467 (5 Replies)
Discussion started by: cpp_beginner
5 Replies
8. Shell Programming and Scripting
Hi
I want to use awk to match where field 3 contains a number within string - then print the line and just the number as a new field.
The source file is pipe delimited and looks something like
1|net|ABC Letr1|1530|||
1|net|EXP_1040 ABC|1121|||
1|net|EXP_TG1224|1122|||
1|net|R_North|1123|||... (5 Replies)
Discussion started by: Mudshark
5 Replies
9. Shell Programming and Scripting
Hi experts,
I am using KSH and I am need to display file with number in front of file names and user can select it by entering the number.
I am trying to use following command to display list with numbers. but I do not know how to capture number and identify what file it is to be used for... (5 Replies)
Discussion started by: mysocks
5 Replies
LEARN ABOUT DEBIAN
config::model::models::debian::dpkg::control::binary
Config::Model::models::Debian::Dpkg::Control::Binary(3pmUser Contributed Perl DocumentatiConfig::Model::models::Debian::Dpkg::Control::Binary(3pm)
NAME
Config::Model::models::Debian::Dpkg::Control::Binary - Configuration class Debian::Dpkg::Control::Binary
VERSION
version 2.021
DESCRIPTION
Configuration classes used by Config::Model
Elements
Architecture
If a program needs to specify an architecture specification string in some place, it should select one of the strings provided by dpkg-
architecture -L. The strings are in the format os-arch, though the OS part is sometimes elided, as when the OS is Linux. A package may
specify an architecture wildcard. Architecture wildcards are in the format any (which matches every architecture), os-any, or any-cpu. For
more details, see http://www.debian.org/doc/debian-policy/ch-customized-programs.html#s-arch-specMandatory. Type string.
Multi-Arch
This field is used to indicate how this package should behave on a multi-arch installations. This field should not be present in packages
with the Architecture: all field.Optional. Type enum. choice: 'same', 'foreign', 'allowed'.
Here are some explanations on the possible values:
'allowed'
allows reverse-dependencies to indicate in their Depends field that they need a package from a foreign architecture, but has no effect
otherwise.
'foreign'
the package is not co-installable with itself, but should be allowed to satisfy the dependency of a package of a different arch from
itself.
'same'
the package is co-installable with itself, but it must not be used to satisfy the dependency of any package of a different architecture
from itself.
Section
Optional. Type uniline.
Priority
Optional. Type enum. choice: 'required', 'important', 'standard', 'optional', 'extra'.
Essential
Optional. Type boolean.
Depends
Optional. Type list of uniline.
Recommends
Optional. Type list of uniline.
Suggests
Optional. Type list of uniline.
Enhances
Optional. Type list of uniline.
Pre-Depends
Optional. Type list of uniline.
Breaks
Optional. Type list of uniline.
Conflicts
Optional. Type list of uniline.
Provides
Optional. Type list of uniline.
Replaces
Optional. Type list of uniline.
Package-Type - The type of the package, if not a regular Debian one
If this field is present, the package is not a regular Debian package, but either a udeb generated for the Debian installer or a tdeb
containing translated debconf strings.Optional. Type enum. choice: 'tdeb', 'udeb'.
Note: Package-Type is migrated with '$xc' and with $xc => ""- XC-Package-Type""
XC-Package-Type - The type of the package, if not a regular Debian one
If this field is present, the package is not a regular Debian package, but either a udeb generated for the Debian installer or a tdeb
containing translated debconf strings.Deprecated Optional. Type enum. choice: 'tdeb', 'udeb'.
Synopsis
Mandatory. Type uniline.
Description
Mandatory. Type string.
SEE ALSO
o cme
AUTHOR
Dominique Dumont
COPYRIGHT
2010,2011 Dominique Dumont
LICENSE
LGPL2
perl v5.14.2 2012-11-09 Config::Model::models::Debian::Dpkg::Control::Binary(3pm)