02-20-2008
only 3 possibilities
Only three possibilities as mentioned above by me
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
Can any one help with this:
I have a huge file with the format as
A SAM 4637
B DEPT1 4758 MILAN
A SMITH 46585
B DEPT2 5385 HARRYIS
B SAMUL 63547 GEORGE
B DANIEL 899 BOISE
A FRES 736 74638
I have to read this file and write only the records that starts with "B" only
... (5 Replies)
Discussion started by: sbasetty
5 Replies
2. Shell Programming and Scripting
Can any one help me to correct following script.
I have 2 directories DropZone and ProcessZone. File pattern is *VEHDESCSUM*.
Finding the 'no of files' in DropZone directory using ls *VEHDESCSUM* |wc -l
If DropZone has more than one file or 0 files then exit 1
If DropZone has one file then... (2 Replies)
Discussion started by: ramanagh
2 Replies
3. Shell Programming and Scripting
Hi,
I have a comma separated file with millions of records in it.
I have a requirement to split the file based on the value in a one of the columns.
Suppose i have a text file with columns like C1, C2,C3,C4
Column C4 can hold the values either 01 or 02 03 or 04.
I nned to extract... (2 Replies)
Discussion started by: Raamc
2 Replies
4. Shell Programming and Scripting
Hi, Gurus,
I got a problem to resolve following issue:
I have one file file1as following:
start_dt=2010-01-01 12:00:02
start_dt=2011-01-01 09:00:02
start_dt=2009-01-01 11:00:02I have another file file2 as following:
title1, 2010-01-03 10:00:02
title2, 2011-01-04 11:00:02
title3,... (5 Replies)
Discussion started by: ken002
5 Replies
5. Shell Programming and Scripting
AWK Command parse a file based on string.
I am trying to write a shell script to parse a file based on a string and move the content of the file to another file.
Here is scenario.
File content below
Mime-Version: 1.0
Content-Type: multipart/mixed;
... (2 Replies)
Discussion started by: aakishore
2 Replies
6. Shell Programming and Scripting
I am fairly new to programming and trying to resolve this problem. I have the file like this.
CHROM POS REF ALT 10_sample.bam 11_sample.bam 12_sample.bam 13_sample.bam 14_sample.bam 15_sample.bam 16_sample.bam
tg93 77 T C T T T T T
tg93 79 ... (4 Replies)
Discussion started by: empyrean
4 Replies
7. Shell Programming and Scripting
Hi All,
I have result log file which looks like this (below): from the content need to consolidate the result and put it in tabular form
1). Intercomponents Checking
Passed: All Server are passed.
======================================================================
2). OS version Checking... (9 Replies)
Discussion started by: Optimus81
9 Replies
8. Shell Programming and Scripting
Hi,
I have a flaty file from which i am fetching few columns in tablular form as below code.
Now i want to fetch the column 6 and 7 in below code only if it either of them is non zero.However below startement
awk -F, '$6==0 && $7==0{exit 1}' ${IFILE}
is not working..Not sure where is the... (36 Replies)
Discussion started by: Vivekit82
36 Replies
9. Shell Programming and Scripting
I collect data in a file in below format(Month Day Year Size) in RedHat Linux. Now i want to calculate the data size date wise. As i code shell script after long time, i forgot the features and syntax. Can anyone help me regard this please.
Feb 8 2014 15
Feb 10 2014 32
Feb 10 2014 32
Feb 12... (2 Replies)
Discussion started by: makauser
2 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
I have a working script as below.
echo "Files loaded with $(cat /var/tmp/script.X1.out)" | mail -s "Files loaded with return code" mailid
This script takes the output from script.X1.out file and appends the text "Files loaded with return code" and sends the email. Now what I want... (5 Replies)
Discussion started by: midhun3108
5 Replies
LEARN ABOUT LINUX
dscverify
DSCVERIFY(1) General Commands Manual DSCVERIFY(1)
NAME
dscverify - verify the validity of a Debian package
SYNOPSIS
dscverify [--keyring keyring] ... changes_or_dsc_filename ...
DESCRIPTION
dscverify checks that the GPG signatures on the given .changes or .dsc files are good signatures made by keys in the current Debian
keyrings, found in the debian-keyring and debian-maintainers packages. (Additional keyrings can be specified using the --keyring option
any number of times.) It then checks that the other files listed in the .changes or .dsc files have the correct sizes and checksums (MD5
plus SHA1 and SHA256 if the latter are present). The exit status is 0 if there are no problems and non-zero otherwise.
OPTIONS
--keyring keyring
Add keyring to the list of keyrings to be used.
--no-default-keyrings
Do not use the default set of keyrings.
--no-conf, --noconf
Do not read any configuration files. This can only be used as the first option given on the command-line.
--nosigcheck, --no-sig-check, -u
Skip the signature verification step. That is, only verify the sizes and checksums of the files listed in the .changes or .dsc
files.
--verbose
Do not suppress GPG output.
--help, -h
Display a help message and exit successfully.
--version
Display version and copyright information and exit successfully.
CONFIGURATION VARIABLES
The two configuration files /etc/devscripts.conf and ~/.devscripts are sourced by a shell in that order to set configuration variables.
Environment variable settings are ignored for this purpose. If the first command line option given is --noconf or --no-conf, then these
files will not be read. The currently recognised variable is:
DSCVERIFY_KEYRINGS
This is a colon-separated list of extra keyrings to use in addition to any specified on the command line.
KEYRING
Please note that the keyring provided by the debian-keyring package can be slightly out of date. The latest version can be obtained with
rsync, as documented in the README that comes with debian-keyring. If you sync the keyring to a non-standard location (see below), you can
use the possibilities to specify extra keyrings, by either using the above mentioned configuration option or the --keyring option.
Below is an example for an alias:
alias dscverify='dscverify --keyring ~/.gnupg/pubring.gpg'
STANDARD KEYRING LOCATIONS
By default dscverify searches for the debian-keyring in the following locations:
- /org/keyring.debian.org/keyrings/debian-keyring.gpg
- /usr/share/keyrings/debian-keyring.gpg
- /usr/share/keyrings/debian-maintainers.gpg
SEE ALSO
gpg(1) and devscripts.conf(5).
AUTHOR
dscverify was written by Roderick Schertler <roderick@argon.org> and posted on the debian-devel@lists.debian.org mailing list, with several
modifications by Julian Gilbey <jdg@debian.org>.
DEBIAN Debian Utilities DSCVERIFY(1)