Hi Guys,
Can you help with the shell script:
I would like to search a fixed width pattern from a file
say for each line from a fixed position and lenght it has to return all rows from the file.
Example:
To search the third column for "def" it has to return 1 and 4th rows only
... (2 Replies)
I have a problem in searching a specific pattern in c files.
My requirement:
I have to find all the division operator in all cfiles.
The problem is, the multi line comments and single line comments will also have forward slash in it.
Even after avoiding these comments also, if both... (6 Replies)
can anybode tell me ? I want to search for a pattern present in a whole directory and subdirectories's files containg " crat"
I tried
grep -r "crat" */* ;
is it right ? (3 Replies)
Hi All,
Please can someone assist in the script I have made that searches a pattern in a file and delete the whole line containing the pattern.
#!bin/sh
# The pattern that user want to add to the files
echo "Enter the pattern of the redirect"
read value
# check if the user has... (1 Reply)
Hi...
I am working on script to search some records in a file based on certain fields and each record is a ASCII fixed size. I was using awk to search based on certain condition. But the length of the record is too much that awk is giving
syntax error near unexpected token `('
Request... (5 Replies)
Hello,
I need to find all *.xml files that matched by pattern on Linux. I need to have written the file name on the screen and then change the pattern in the file just was found.
For instance.
I can start the script with arguments for keyword and for value, i.e
script.sh keyword... (1 Reply)
Hi,
I need small help from you people.
In a directory there are around 150 odd files and few them contain the word "TRACK" and few are not.
How can I find out the the list of those files which doesn't contain the word "TRACK"?
Thanks,
Siba (4 Replies)
in my file i have somthing likre
kpk_12
kpk_1
kpk_1.tcl
kpk_3.tcl
kpk
kpk
kpk
i want search only kpk i am using this cmd /kpk ...results it is showing all . any cmd is ther other then this to search exactword in this example kpk it shoulsnot show kpk_* etc
Thanks in Advance
... (2 Replies)
Hi there,
Looking forward to your advice for the below:
I have a file which contains 2 paragraphs related to a particular pattern. I have to search for those paragraphs from a log file and then print a particular line from those paragraphs.
Sample:
I have one file with the fixed... (3 Replies)
Hi all,
i am trying to count the number of logical processors from the below output:
# print_manifest | grep "logical processors"
8 cores, 16 logical processors per socket
2 logical processors (2 per socket)
i just want to have below output :
16
2
also... (11 Replies)
Discussion started by: omkar.jadhav
11 Replies
LEARN ABOUT OPENDARWIN
audial
AUDIAL(1) General Commands Manual AUDIAL(1)NAME
audial - generate or recognize touch tones for North American telephones
SYNOPSIS
audial [-audio servername] [-volume 0-100] [-spacing milliseconds] [-pause milliseconds] [-duration milliseconds] dialstring
audial -recognize [-microphone] [-gain 0-100] [-time seconds]
DESCRIPTION
The audial program generates touch tones suitable for dialing a North American telephone. audial can also recognize touch tones and pro-
duce the corresponding string.
GENERAL OPTIONS
The following options may be used in either dial or recognition mode:
-audio servername
This option specifies the Network Audio System server on which the files should be played.
DIAL OPTIONS
The following options may be used in dial mode:
-volume 0-100
This option specifies the volume at which the data should be played as a percentage of the maximum possible volume. The default is
100 percent.
-spacing milliseconds
This option specifies the number of milliseconds to wait in between each digit. The default is 100.
-pause milliseconds
This option specifies the number of milliseconds to wait whenever a comma (,) is used in a dial string. The default is 400.
-duration milliseconds
This option specifies the duration of each tone in milliseconds. The default is 100.
DIALING STRING
The following characters may be used in a dialing string:
0123456789*#
The corresponding touch tone is generated.
abcd Tones representing the 4 "function" keys often found on a keypad are generated.
, A blank tone whose length is specified by the -pause option is generated.
Any other characters are ignored.
RECOGNITION OPTIONS -recognize
Enables recognition mode. audial will attempt to recognize touch tones from the input device and output the corresponding charac-
ter.
-microphone
Use microphone gain levels on the audio input device. If a microphone is plugged into the audio input jack, this option should be
used.
-gain 0-100
This option specifies the input gain level. The default is 95.
-time seconds
This option specifies how long to attempt the recognition. The default is forever.
ENVIRONMENT VARIABLES
The following environment variables are used by audial:
AUDIOSERVER
This specifies the name of default audio server to contact if no name is explicitly given on the command line.
DISPLAY This specifies the name of an X Window System display that should be assumed to also have a corresponding Network Audio System
server.
SEE ALSO nas(1)COPYRIGHT
Copyright 1993, 1994 Network Computing Devices, Inc.
AUTHORS
Greg Renda, Network Computing Devices, Inc.
Kevin Martin, Network Computing Devices, Inc.
1.9.3 AUDIAL(1)