Sponsored Content
Full Discussion: Multiple search pattern
Top Forums Shell Programming and Scripting Multiple search pattern Post 302788543 by ahamed101 on Tuesday 2nd of April 2013 03:57:57 AM
Old 04-02-2013
Code:
awk '/Gender/{g=$NF}/ID/{id=$NF}/[Hh]ire/{print id,g,$NF}' input_file

--ahamed

Last edited by ahamed101; 04-02-2013 at 05:14 AM..
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Pattern search in multiple lines

Hi, I have to search those statements from the file which starts from "shanky"(only shanky, shanky09 or 09shanky is not allowed) and ends with ");". These two string can be in a same line or different line. And also i have to negate those lines which starts with #. Can any one please give me... (2 Replies)
Discussion started by: shanky09
2 Replies

2. Shell Programming and Scripting

pattern search for multiple log files and counting

I have 10 appservers and each appserver has 4 jvms . Each of these logs is archived and stored on a nfs directory . For example the files are /logs/200907/ap1-jvm1.server.log.20090715.gz /logs/200907/ap2-jvm2.server.log.20090714.gz /logs/200908/ap1-jvm1.server.log.20090812.gz I want to... (3 Replies)
Discussion started by: gubbu
3 Replies

3. Shell Programming and Scripting

Multiple pattern search in perl

user 10 values content is: musage.py yes value user 11 values content is: gusage.py yes value how to print "user" string line by searching "content is:" string and "usage.py" string in perl (8 Replies)
Discussion started by: Anjan1
8 Replies

4. Shell Programming and Scripting

Help need with PERL multiple search pattern matching!

My example file is as given below: conn=1 uid=oracle conn=2 uid=db2 conn=3 uid=oracle conn=4 uid=hash conn=5 uid=skher conn=6 uid=oracle conn=7 uid=mpalkar conn=8 uid=anarke conn=9 uid=oracle conn=1 op=-1 msgId=-1 - fd=104 slot=104 LDAPS connection from 10.10.5.6 to 10.18.6.5 conn=2... (3 Replies)
Discussion started by: sags007_99
3 Replies

5. Homework & Coursework Questions

sed Multiple Pattern search and delete the line

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I have file which has got the following content sam 123 LD 41 sam 234 kp sam LD 41 kam pu sam LD 61 Now... (1 Reply)
Discussion started by: muchyog
1 Replies

6. Shell Programming and Scripting

awk with multiple pattern search

Want to fetch a column with multiple pattern using awk. How to achieve the same. Tried cat test address : 10.63.20.92/24 address : 10.64.22.93/24 address : 10.53.40.91/24 cat test | awk '{print $3}' |awk -F "/" '{print $1}' 10.63.20.92 10.64.22.93 10.53.40.91 Is there any... (2 Replies)
Discussion started by: Manasa Pradeep
2 Replies

7. Linux

Search multiple pattern from list

I am working on AIX operating system. I want to search list of Article Id for given Set Date (which are present in a seperate file input.txt) art_list.csv ------------ "Article ID" |"Ad Description" |"Pyramid"|"Pyramid Desc "|"ProductTypeId"|"Set Date "|... (3 Replies)
Discussion started by: rajivrsk
3 Replies

8. Shell Programming and Scripting

Search multiple pattern in a file

I have a sample file with following output: HTTP/1.1 200 OK User: admin Set-Cookie: AMBARISESSIONID=y3v3648yqcno32nq478kw7ar;Path=/;HttpOnly Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-Type: text/plain Vary: Accept-Encoding, User-Agent Content-Length: 6057 Server:... (4 Replies)
Discussion started by: saurau
4 Replies

9. Shell Programming and Scripting

Pattern search multiple files

#!/usr/bin/ksh a="Run successfully" cd $APPS ls -l *.txt | while read $txt do if then cp $APPS/$txt cp $hist/$txt else rm $APPS/$txt echo "Files has been removed" fi done New in shell script please help me out Around 100 txt files in $APPS dir i want to search pattern from... (8 Replies)
Discussion started by: Kalia
8 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)
All times are GMT -4. The time now is 12:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy