10-03-2013
No first line is not "20131002" and last line is not "Voice", script first grep 20131002 and than scan lines below as soon as it come across first "Voice" it prints and search for other such patterns by grepping "20131002" and than lines below it, to search "Voice". And than prints all such patterns found.
10 More Discussions You Might Find Interesting
1. Solaris
Hi how do i grep only a part of the line from a file from all the lines.
file:
asdfgh 543212376 nag
lkjh abhilash 543757858
How do i grep and print only 543212376 and 543757858
Can i grep something like 543* and print only that. (3 Replies)
Discussion started by: 123nagendrabhi
3 Replies
2. UNIX for Dummies Questions & Answers
Hello everyone,
I have been trying to get a list of all files containing a line of this type:
};#followed by anything
with any spaces (0 or more or 0 or more tabs) before the } and between each of the characters.
I have been trying this :
grep '*}*;*#*' *.c
but I have not been fully... (1 Reply)
Discussion started by: gio001
1 Replies
3. Solaris
Hi,
I would like to search multiple patterns on same line, i.e. all patterns must
present on same line.
Please suggest.
Thanx (2 Replies)
Discussion started by: sanjay1979
2 Replies
4. Shell Programming and Scripting
Hi I have the following Input
--
-- TABLE: BUSINESS_UNIT
--
ALTER TABLE RATINGS.BUSINESS_UNIT ADD CONSTRAINT FK1_BUSINESS_UNIT
FOREIGN KEY (PEOPLESOFT_CHART_FIELD_VALUE_ID)
REFERENCES RATINGS.PEOPLESOFT_CHART_FIELD_VALUE(PEOPLESOFT_CHART_FIELD_VALUE_ID)
;
ALTER TABLE... (1 Reply)
Discussion started by: pukars4u
1 Replies
5. Shell Programming and Scripting
I have a txt file with more than 10000 lines. There is a unique pattern which is scattered into the file. it starts with @9 and it has 15 characters. i need to grep them and display along with line numbers.
Eg: File - Test1
test message....
....
..
..
@9qwerty89
...test message... (8 Replies)
Discussion started by: abinash
8 Replies
6. Shell Programming and Scripting
Hi,
I have got the below requirement. please suggest.
I have a file like,
Processing Item is:
/data/ing/cfg2/abc.txt
/data/ing/cfg3/bgc.txt
Processing Item is:
/data/cmd/for2/ght.txt
/data/kernal/config.klgt.txt
I want to process the above file to get the output file like,
... (5 Replies)
Discussion started by: rbalaj16
5 Replies
7. Shell Programming and Scripting
$ cat file.log
Message Number = : Sending message 10:50:16^|^reqhdr.dummyid^=^02^|^reqhdr.timezone^=^GMT+05:30^|^DUMMYREQUEST^=^BH||||||||||||||||||$BD|OL|C|V||DummyAcctNo|02||24/12/2011|ST_DDM|DDM||||||||reqUUID110612105016$BT||||||||||||||||||$] Length
I have the above line in the... (4 Replies)
Discussion started by: kalidass
4 Replies
8. Shell Programming and Scripting
here is what i want to achieve.. i have a file with below contents
cat fileName
blah blah blah
.
.DROP this
REJECT that
.
--sport 7800 -j REJECT --reject-with icmp-port-unreachable
--dport 7800 -j REJECT --reject-with icmp-port-unreachable
.
.
.
more blah blah blah
--dport 3306... (14 Replies)
Discussion started by: vivek d r
14 Replies
9. Shell Programming and Scripting
Hi ,
I have a file where i have modifed certain things compared to original file . The difference of the original file and modified file is as follows.
# diff mir_lex.c.modified mir_lex.c.orig
3209c3209
< if(yy_current_buffer -> yy_is_our_buffer == 0) {
---
>... (5 Replies)
Discussion started by: breezevinay
5 Replies
10. UNIX for Beginners Questions & Answers
I have a file with a list of references towards the end and want to apply a grep for some string.
text ....
@unnumbered References
@sp 1
@paragraphindent 0
2017. @strong{Chalenski, D.A.}; Wang, K.; Tatanova, Maria; Lopez,
Jorge L.; Hatchell, P.; Dutta, P.; @strong{Small airgun... (1 Reply)
Discussion started by: kristinu
1 Replies
LEARN ABOUT OSX
mac::speech
Speech(3) User Contributed Perl Documentation Speech(3)
NAME
Mac::Speech - Provide interface to PlainTalk (Speech Manager)
SYNOPSIS
use Mac::Speech;
DESCRIPTION
Access to Inside Macintosh is essential for proper use of these functions. Explanations of terms, processes and procedures are provided
there. Any attempt to use these functions without guidance can cause severe errors in your machine, including corruption of data. You have
been warned.
Variables
%Voice
The %Voice hash will return the index to the first voice whose name matches the given text.
Constants
kTextToSpeechSynthType
kTextToSpeechVoiceType
kTextToSpeechVoiceFileType
kTextToSpeechVoiceBundleType
Speech Types.
kNoEndingProsody
kNoSpeechInterrupt
kPreflightThenPause
Synthesizer flags.
kImmediate
kEndOfWord
kEndOfSentence
Where to stop.
kNeuter
kMale
kFemale
Genders.
Types
VoiceDescription
Voice Description Record.
long length size of structure--set by application
VoiceSpec voice voice synthesizer and ID info
long version version number of voice
Str63 name name of voice
Str255 comment text information about voice
short gender neuter, male, or female
short age approximate age in years
short script script code of text voice can process
short language language code of voice output
short region region code of voice output
VoiceSpec
Voice Specification Record.
OSType creator ID of required synthesizer
OSType id ID of voice on the synthesizer
Functions
SpeechManagerVersion
CountVoices
GetIndVoice INDEX
GetVoiceDescription VOICE
NewSpeechChannel VOICE
DisposeSpeechChannel CHAN
SpeakString S
SpeakText CHAN, TEXT
SpeakBuffer CHAN, TEXT, CONTROLFLAGS
StopSpeech CHAN
StopSpeechAt CHAN, WHERETOSTOP
PauseSpeechAt CHAN, WHERETOPAUSE
ContinueSpeech CHAN
SpeechBusy
SpeechBusySystemWide
SetSpeechRate CHAN, RATE
GetSpeechRate CHAN
SetSpeechPitch CHAN, PITCH
GetSpeechPitch CHAN
TextToPhonemes CHAN, TEXT
SpeechToFile CHAN, PATH
Set speech channel CHAN to output to file PATH.
AUTHOR
Written by Matthias Ulrich Neeracher <neeracher@mac.com>. Currently maintained by Chris Nandor <pudge@pobox.com>.
perl v5.16.2 2013-08-25 Speech(3)