I have two files I want to compare, one is a list of variables and the other is a text file COBOL program.
Basically what I want to do is display only those variables that appear in the COBOL program only once. However I would also accept a count of each variable as it appears in the COBOL... (2 Replies)
Hi experts,
First of all thanks for all your help.
How can i count the lines within a text file and send this number to another text file?
And by the way how can i count the number of files inside a tape ("/dev/rtp") that as one pattern (Ex. "/CTA/") and send this number to a text file?
I... (6 Replies)
Hi,
I have a load of if statements that look for files in a directory, I want to be able to count them up and the total files confirmed in an email? I ahve tried expr but i this does not work and it only reads in the first if and ignores the rest.
Please see script,
#!/bin/ksh
... (2 Replies)
I'm regularly counting the number of rows in a number of files. I need to know how many rows their are in all files together. Counting rows in one file I can handle, but how do I count rows in all at once?
I'd be grateful for any answer. (7 Replies)
Hello,
at the moment I'm on with programming some kind of version history script for network devices.
The configration files are uploaded in the form:
devicename-confg_date_time.
For keeping the last 10 configurations I want to split the devicename from the rest. This works well with... (5 Replies)
In a directory, I have 5000 multiple files that contains around 4000 rows with 10 columns in each file containing a unique string 'AT' located at 4th column.
OM 3328 O BT 268 5.800 7.500 4.700 0.000 1.400
OM 3329 O BT 723 8.500 8.900... (7 Replies)
In a script, how would I go about finding the number of files for the first parameter after my script name?
For instance, my script name is myscript.sh and the folder I am checking is not the current working directory, lets say it's folder1.
so I type myscript.sh folder1
This script below... (2 Replies)
i need to write a shell script to "count the number of files in the current directory but without using either ls or wc command".....
please help! (1 Reply)
Discussion started by: lexicon
1 Replies
LEARN ABOUT DEBIAN
dh_xul-ext
DH_XUL-EXT(1) mozilla-devscripts suite DH_XUL-EXT(1)NAME
dh_xul-ext - calculate XUL extension dependencies
SYNOPSIS
dh_xul-ext [options]
DESCRIPTION
dh_xul-ext is a helper tool for packaging XUL extensions. It calculates the supported XUL applications for the packages that contain an
install.rdf file. It will set the substitution variables xpi:Depends, xpi:Recommends, xpi:Breaks, xpi:Enhances, and xpi:Provides. Unknown
options will be ignored.
OPTIONS -h, --help
Display a brief help message.
-a, --all
Expand substvars to all known XUL applications. If this parameter is not provided, substvars will only be expanded to the XUL appli-
cations that are available on your distribution. Use this parameter if you want to create a package that can be installed on all
Debian-based systems without recompiling.
-p package, --package=package
Calcalate the substvars only for the specified package. If this parameter is not provided, all package listed in the control file
will be processed.
-v, --verbose
Print more information.
ENVIRONMENT
DH_XUL_EXT_VENDOR
The vendor (for example, Debian or Ubuntu) that should be used for calculating the dependencies. dpkg-vendor(1) will be used for
determining the vendor if this environment variable is not set. Setting the variable to all will have the same effect than calling
dh_xul-ext with --all.
AUTHOR
Benjamin Drung <bdrung@debian.org>
dh_xul-ext October 2011 DH_XUL-EXT(1)