If I describe some things wrong please be aware, that english is not my native language!!
I'm a bit stuck with a script I need to finish. Due to data protection I need to hide some paths but that should be no problem.
My script connects to a db2 database and pulls the information of "app_name" and "app_version". It then compares the two parameters with a directory. If some of the names and versions do not match or can't be found it needs to check if the untraceable data can be found in another file. The format I pull out of the database is like this: AAL;00.01-02; first the "app_name" and second the "app_version"
This is the part where I am stuck. Maybe i'm just to tired or I think way to complicated but I can't find a solution
So my idea was to use a while if else statement and compare the modules that can't be find with the "webanwendungen.dbin" but I don't know how to do that.
If you need further information please let me know.
Thank you in advance!
Last edited by dsondermann; 02-20-2018 at 08:28 AM..
Reason: Missing brace
Hi,
my problem is, I have to files, one is a log file of an actual execution, the other file is a pattern file.
The entries
"abcd,,!!11.22!!,3asdf" and
"abcd,,!!xx.xx!!,3asdf"
should be identified as equal.
At the position of the x in the pattern file, the log file must have... (3 Replies)
Hi All,
I am having trouble through, I am reading the input from tab delimited file containing several records,
e.g.
line1 field1 field2 field3 so on..
line2 field1 field2 field3 so on..
..
..
on the basis of certain fields for each record in input file, I have to retrieve... (1 Reply)
Hi All,
I have a requirement to write a shell script for the following...
we have 3 different database.... lets say A, B, C
From these 3 DBs, i need to get data.. all have 3 different table...a,b, c
A.a => Emp_code, count(*)
B.b => emp_code, count(*)
C.c => emp_code, copunt(*)
Once get this... (4 Replies)
Hi All,
I've written a script to read 2 files and compare the contents using while loop but somehow when $line is not found in test2, the script will continue looping.
Below is my code, pls advise what could went wrong
TIA
Nick
for line in test1.txt | while read line
do
grep -i... (4 Replies)
Basically, I have a user input a colour into a variable, and then i echo that variable into a text file. Then I need to compare those 2 files which is easy using the diff command. The thing I can not get is how to do this inside of a loop until the variable matches the file. Also if the user enters... (6 Replies)
I have a file which has following content:
NAME=ora.DG1.dg
TYPE=ora.diskgroup.type
TARGET=ONLINE
STATE=ONLINE
NAME=ora.DG2.dg
TYPE=ora.diskgroup.type
TARGET=ONLINE
STATE=ONLINE
NAME=ora.DG3.dg
TYPE=ora.diskgroup.type
TARGET=ONLINE
STATE=ONLINE
NAME=ora.DG4.dg... (7 Replies)
Hello experts,
Please help me in achieving this in an easier way possible. I have 2 csv files with following data:
File1
08/23/2012 12:35:47,JOB_5330
08/23/2012 12:35:47,JOB_5330
08/23/2012 12:36:09,JOB_5340
08/23/2012 12:36:14,JOB_5340
08/23/2012 12:36:22,JOB_5350
08/23/2012... (5 Replies)
Hello,
I have a single text file with three columns like:
2 1 10
3 6 11
4 4 12
5 5 13
6 8 14
I was wondering how I can run a shell script to (do loop) to read the first point in the first column , compare it with all the points in the second column and if they are the same,... (12 Replies)
Hello All,
I'm working on a script that will actually read a file consisting of data like the below:(ReportID,Sub_reportID,Sub_reportName)
1,1,ABC
1,2,DEF
1,3,GHI
2,1,JKL
2,2,MNO
3,1,PQR
I want to read the Sub Report details for a Report_ID using while loop and write these values into... (6 Replies)
Hi guys, looking for some help with a way to compare data in two files but with some conditions.
example,
File 1 consists of
site1,10.1.1.1
site2,20.2.2.2
site3,30.3.3.3
File 2 contains
site1,l0.1.1.1
site2,50.1.1.1
site3,30.3.3.3
site4,40.1.1.1
I want to be able to match the... (1 Reply)
Discussion started by: mutley2202
1 Replies
LEARN ABOUT DEBIAN
dbin
DBCAT(1) General Commands Manual DBCAT(1)NAME
dbin - Connect sound card input to DB Fourier Synthesis daemon
SYNOPSIS
dbin [options]
DESCRIPTION
The dbin tool allows to connect a sound card's input channel to dbfsd. Both dbin and dbfsd are part of the DBMix project, a digital audio
mixing system. dbin is needed to mix in data from a microphone, or from an external audio device plugged into the line-in jack.
The audio device used by dbin must support full-duplex operation. Also, this device must not be used for the master or cue output of
dbfsd. Otherwise, dbin will output but an empty audio stream.
OPTIONS -8 Input data comprises of PCM-coded 8bit unsigned samples. (Default: 16bit signed samples.)
-a dev Connect to audio device dev. (Default: /dev/dsp.)
-c n Connect to channel n of dbfsd. (Default: first channel available.)
-d Print out debug messages to console. (Default: debugging disabled.)
-h Print summary of available options.
-l Audio input is a line-in source. (Default: input is a microphone source.) source.)
-m Input data is a mono stream. (Default: interleaved stereo stream.)
-r rate
Input data is sampled at rate Hertz. (Default: 44100Hz.)
-s Send output data to stdout. (Default: Send output to dbfsd.) dbfsd.
SEE ALSO dbcat(1), dbfsd(1), dbmixer(1), dbmix(7).
AUTHOR
This manual page was written by Daniel Kobras <kobras@debian.org>, for the Debian GNU/Linux system (but may be used by others). It is
heavily based on DBMix's README file written by Robert Michael S Dean.
August 6, 2002 DBCAT(1)