10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In the awk below I am trying to output those lines that Match between file1 and file2, those Missing in file1, and those missing in file2. Using each $1,$2,$4,$5 value as a key to match on, that is if those 4 fields are found in both files the match, but if those 4 fields are not found then missing... (0 Replies)
Discussion started by: cmccabe
0 Replies
2. Shell Programming and Scripting
I am trying to create a cronjob that will run on startup that will look at a list.txt file to see if there is a later version of a database using database.txt as the source. The matching lines are written to output.
$1 in database.txt will be in list.txt as a partial match. $2 of database.txt... (2 Replies)
Discussion started by: cmccabe
2 Replies
3. Shell Programming and Scripting
I am trying to look for $2 of file1 (skipping the header) in $2 of file2 (skipping the header) and if they match and the value in $10 is > 30 and $11 is > 49, then print the line from file1 to a output file. If no match is foung the line is not printed. Both the input and output are tab-delimited.... (3 Replies)
Discussion started by: cmccabe
3 Replies
4. Shell Programming and Scripting
Hi,
I have a requirement where I need to combine two lines in a file based on first character of each line in a file.
Please find the sample content of the file below:
_______________________
5, jaya, male, 4-5-90, single
smart
6, prakash, male, 5-4-84, married
fair
7, raghavi, female,... (12 Replies)
Discussion started by: jayaP
12 Replies
5. UNIX for Dummies Questions & Answers
Hello, can someone help me how to find a word and 2 lines after it and then send the output to another file.
For example, here is myfile1.txt. I want to search for "Error" and 2 lines below it and send it to myfile2.txt
I tried with grep -A but it's not supported on my system.
I tried with awk,... (4 Replies)
Discussion started by: eurouno
4 Replies
6. UNIX for Dummies Questions & Answers
Hi Guys,
Good morning! I have a file which looks something like this:
Command was launched from partition 0.
------------------------------------------------
Executing command in server server3
Thu Jan 12 11:10:39 EET 2012
------------------------------------------------... (3 Replies)
Discussion started by: rymnd_12345
3 Replies
7. Emergency UNIX and Linux Support
Hi,
I have an input file like
F : 0.1 : 0.002
P : 0.3 : 0.004
P : 0.5 : 0.008
P : 0.1 : 0.005
L : 0.05 : 0.02
P: 0.1 : 0.006
P : 0.01 : 0.08
F : 0.02 : 0.08
Expected output: (2 Replies)
Discussion started by: vasanth.vadalur
2 Replies
8. UNIX for Advanced & Expert Users
Hi all,
I'm running a simulator and I'm noticing an slow increase in memory for long simulations such that the simulation has to end because of a lack of memory. A colleague of mine ran Valgrind memcheck and reported that nothing of interest was reported other than known mem leaks. My advisor... (2 Replies)
Discussion started by: pl4u
2 Replies
9. Shell Programming and Scripting
I currently use this construction to check whether a certain program is installed:
if ; then
cd /usr/ports/databases/sqlite3 && make install clean
else
echo "sqlite already installed"
fi
Is this method recommended? Is this an effective method, ie sufficiently robust for... (3 Replies)
Discussion started by: figaro
3 Replies
10. Shell Programming and Scripting
Hi,
I'm trying to plot some data using the awk to find and parse the data and then use gnuplot to plot it up. I'd like to plot one or more range cells (let the user decide!). I've been able to write up the code such that I can plot one range cell per plot, but I just can't see how to get more... (1 Reply)
Discussion started by: dpath2o
1 Replies
jack-dssi-host(1) General Commands Manual jack-dssi-host(1)
NAME
jack-dssi-host - a simple JACK host for DSSI plugins
SYNOPSIS
jack-dssi-host [-v] [-a] [-n] [-p <projdir>] [-c <cname>] [-<i>] <libname>[:<label>] [...]
DESCRIPTION
jack-dssi-host is a simple DSSI host that listens for MIDI events on an ALSA sequencer port, delivers them to DSSI synth plugins, and out-
puts the resulting audio via JACK.
jack-dssi-host can host up to 16 instances of DSSI synth plugins, each of which is sequentially assigned a MIDI channel from 1 to 16.
Plugin outputs (if `-a' is not specified) are connected sequentially to the available JACK physical output ports, wrapping back to the
first JACK port whenever the available ports are exhausted. Plugin user interfaces (UIs) are started for each instance (if '-n' is not
specified.) jack-dssi-host will exit when the last plugin UI has exited.
As a special case, if jack-dssi-host is started with a name other than `jack-dssi-host', and if that name (plus an `.so' suffix) can be
found in the DSSI_PATH search path (see ENVIRONMENT below) as a valid plugin shared library, and if no further command line arguments are
given, then the first plugin in that library will be loaded automatically. This provides a convenient way to run a plugin by simply sym-
linking the plugin's basename to jack-dssi-host.
OPTIONS
-v Verbose mode.
-a Disable automatic connection of outputs to JACK physical outputs.
-n Disable automatic starting of plugin user interfaces (UIs).
-p <projdir>
The project directory to pass to both plugin and UI.
-c <cname>
The client name to use for ALSA and JACK.
-<i> Number of instances of the following plugin to run (max 16 total, default 1).
<libname>
Name of the DSSI plugin shared library (.so) to load. This may be an absolute path to the library file, or just the filename itself,
in which case the DSSI search path is searched (see ENVIRONMENT below).
<label>
the label of the plugin to load from the library. If this is omitted, the first plugin in the library is used.
[...] Optionally more instance counts, plugins and labels.
EXAMPLE
jack-dssi-host -2 lib1.so -1 lib2.so:fuzzy
Runs two instances of the first plugin found in lib1.so, assigned to MIDI channels 1 and 2 and connected to the first available JACK out-
puts, and one instance of the "fuzzy" plugin in lib2.so on MIDI channel 3 and connected to the next available JACK output.
ENVIRONMENT
jack-dssi-host will search for plugin shared libraries in the directories specified by the environment variable DSSI_PATH, which is a
colon-separated list of directories. If DSSI_PATH is not set, a default search path of /usr/lib/dssi, /usr/local/lib/dssi, and (assuming
the environment variable HOME is set,) $HOME/.dssi is used.
AUTHOR
This manual page was originally created by Mark Hymers from the help text of the application, for the Debian project (but may be freely
used by others).
September 18th, 2010 jack-dssi-host(1)