Sponsored Content
Full Discussion: Grep multiple values
Top Forums UNIX for Dummies Questions & Answers Grep multiple values Post 302784547 by PikK45 on Friday 22nd of March 2013 12:23:42 PM
Old 03-22-2013
Can you post sample output of the commands that u used?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

grep a list of values

Hi everybody! :) :D :D :) it's great to be here since this is my first post. touch /base/oracle/FRA/XMUT00/RMAN_FLAG touch /base/oracle/FRA/XRLL00/RMAN_FLAG find directory name containing RMAN_FLAG : $ find /base/oracle/FRA -name RMAN_FLAG -print|xargs -n1 dirname |sort -u... (3 Replies)
Discussion started by: jolan_louve
3 Replies

2. UNIX for Dummies Questions & Answers

grep using ASCII values

machine: HPUX file: a.dat contents: decimal 1 decimal 2 string 1 string 2 ASCII value of 'd': 100. to grep lines that have 'd', I use the following command grep d a.dat My requirement: I should grep for lines that contain 'd'. But I should use ASCII value of 'd' in the command... (1 Reply)
Discussion started by: sriksama
1 Replies

3. Shell Programming and Scripting

grep two values together.

Hi... I have a file abc.txt , havin more then 10,000 lines, each field separated by '#'. I want to grep 9914699895 and 999 from abc.txt I am trying cat abc.txt | grep 9914699895 | grep 999 but i am also getting data like 9991111111 or 9991010101 I want to grep "999" exactly and... (1 Reply)
Discussion started by: tushar_tus
1 Replies

4. UNIX for Dummies Questions & Answers

grep command to find multiple strings in multiple lines in a file.

I want to search files (basically .cc files) in /xx folder and subfolders. Those files (*.cc files) must contain #include "header.h" AND x() function. I am writing it another way to make it clear, I wanna list of *.cc files that have 'header.h' & 'x()'. They must have two strings, header.h... (2 Replies)
Discussion started by: ritikaSharma
2 Replies

5. UNIX for Dummies Questions & Answers

Grep multiple strings in multiple files using single command

Hi, I will use below command for grep single string ("osuser" is search string) ex: find . -type f | xarg grep -il osuser but i have one more string "v$session" here i want to grep in which file these two strings are present. any help is appreciated, Thanks in advance. Gagan (2 Replies)
Discussion started by: gagan4599
2 Replies

6. UNIX Desktop Questions & Answers

How do you [e]grep for multiple values within multiple files?

Hi I'm sure there's a way to do this, but I ran out of caffeine/talent before getting the answer in a long winded alternate way (don't ask ;) ) The task I was trying to do was scan a directory of files and show only files that contained 3 values: I940 5433309 2181 I tried many variations... (4 Replies)
Discussion started by: callumw
4 Replies

7. Shell Programming and Scripting

Grep multiple strings in multiple files

Hi, every one! I have a file with multiple strings. file1 ATQRGNE ASQGVKFTE ASSQYRDRGGLET SPEQGARSDE ASSRDFTDT ASSYSGGYE ASSYTRLWNTGE ASQGHNTD PSLGGGNQPQH SLDRDSYNEQF I want to grep each string in hundreds of files in the same directory, further, I want to find out the string... (7 Replies)
Discussion started by: xshang
7 Replies

8. Shell Programming and Scripting

Grep from multiple patterns multiple file multiple output

Hi, I want to grep multiple patterns from multiple files and save to multiple outputs. As of now its outputting all to the same file when I use this command. Input : 108 files to check for 390 patterns to check for. output I need to 108 files with the searched patterns. Xargs -I {} grep... (3 Replies)
Discussion started by: Diya123
3 Replies

9. Shell Programming and Scripting

Read record from the text file contain multiple separated values & assign those values to variables

I have a file containing multiple values, some of them are pipe separated which are to be read as separate values and some of them are single value all are these need to store in variables. I need to read this file which is an input to my script Config.txt file name, first path, second... (7 Replies)
Discussion started by: ketanraut
7 Replies

10. Shell Programming and Scripting

Reading multiple values from multiple lines and columns and setting them to unique variables.

Hello, I would like to ask for help with csh script. An example of an input in .txt file is below, the number of lines varies from file to file and I have 2 or 3 columns with values. I would like to read all the values (probably one by one) and set them to independent unique variables that... (7 Replies)
Discussion started by: FMMOLA
7 Replies
esdctl(1)							   User Commands							 esdctl(1)

NAME
esdctl - Enlightened Sound Daemon (esd) control program SYNOPSIS
esdctl [-h] [-s hostname:port] command DESCRIPTION
The esdctl utility is a command-line control program for the Enlightened Sound Daemon (esd). OPTIONS
The following options are supported: -s hostname:portContact the esd server on hostname at port. You can also specify this option as follows: --server=hostname:port -h Display help text, and exit. OPERANDS
The following operands are supported: command The following commands are supported: allinfo Get player and sample information from the server cache sample Cache a sample in the server free name Uncache a sample in the server getid name Retrieve a sample id, given the sample name lock Do not allow foreign clients to use the server loop name Make a cached sample loop off Suspend sound output so that other programs can use the audio device (this is the same as the standby option) on Resume sound output so that only esd can use the audio device (this is the same as the resume option) pansample id lefSetidefault panning for a sample, where id is the sample ID, and left and right are integers in the range 0 to 255 panstream id lefSetipanning for a stream, where id is the stream ID, and left and right are integers in the range 0 to 255 play name Play a cached sample once resume Resume sound output so that only esd can use the audio device (this is the same as the on option) serverinfo Get server information from the server standby Suspend sound output so that other programs can use the audio device (this is the same as the off option) standbymode Check whether the server is on standby stop name Stop the looping sample at the end unlock Allow foreign clients to use the server EXAMPLES
Example 1: Putting esd into Standby Mode example% esdctl standby Example 2: Ending Standby Mode example% esdctl resume Example 3: Loading a sample into the esd cache example% esdctl cache info.wav Sample <3> uploaded. Name = esdctl:info.wav This output indicates that the sample id is 3, and the sample name is esdctl:info.wav. Example 4: Getting a sample id from the esd cache example% esdctl getid esdctl:info.wav Example 5: Playing a sample from the esd cache example% esdctl play esdctl:info.wav Example 6: Playing and looping a sample example% esdctl loop esdctl:info.wav Example 7: Stopping a looped sample that is being played example% esdctl stop esdctl:info.wav Example 8: Removing a sample from the esd cache example% esdctl free esdctl:info.wav Example 9: Setting panning for a stream example% esdctl panstream 1 100 155 Example 10: Setting panning for a sample example% esdctl pansample 1 155 100 EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/esdctl Executable for Enlightened Sound Daemon control program ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-audio | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
esdcat(1), esdplay(1), esdrec(1), esdsample(1), esdmon(1), esd-config(1), libesd(3) NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003. SunOS 5.10 8 Jan 2003 esdctl(1)
All times are GMT -4. The time now is 06:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy