This is related to one of my previous post but now with a slight difference: I need the "Updated:" to be in one line as well as the "Information:" on one line as well. These are in multiple lines right now as seen below. These can have 2 or more lines that needs to be in one line.
System name:... (8 Replies)
I can't decide if I should use AWK or PERL after pouring over these forums for hours today I decided I'd post something and see if I couldn't get some advice.
I've got a text file full of hundreds of events in this format:
Record Number : 1
Records in Seq : ... (3 Replies)
i have the file <infile> with ^M charactrer. i just wnt to know through script whether the file have ^M character or not.
Please let me know the script steps to check the same.
Thanks in Advance
Ganesh. (3 Replies)
Hello,
I need a program that read a file line by line and prints out lines 1, 2 & 3 after an empty line... An example of entries in the file would be:
SRVXPAPI001 ERRO JUN24 07:28:34 1775
REASON= 0000, PROCID= #E506 #1065: TPCIPPR, INDEX= 003F
... (8 Replies)
I am trying to combine lines with these conditions:
1. First line starts with text of "libname VALUE db2 datasrc" where VALUE can be any text.
2. If condition1 is met then continue to combine lines through a line that ends with a semicolon.
3. Ignore case when matching patterns and remove any... (5 Replies)
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:
Code:
_______________________
5, jaya, male, 4-5-90, single
smart
6, prakash, male, 5-4-84, married
fair
7, raghavi,... (1 Reply)
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:
Code:
_______________________
5, jaya, male, 4-5-90, single
smart
6, prakash, male, 5-4-84, married
fair
7, raghavi,... (1 Reply)
I have been searching and trying to come up with an awk that will perform the following on a
converted text file (original is a pdf).
1. Since the first two lines are (begin with) text they are removed
2. if $1 is a number then all text is merged (combined) into one line until the next... (3 Replies)
In the awk piped to sed below I am trying to format file by removing the odd xxxx_digits and whitespace after, then move the even xxxx_digit to the line above it and add a space between them. There may be multiple lines in file but they are in the same format. The Filename_ID line is the last line... (4 Replies)
Discussion started by: cmccabe
4 Replies
LEARN ABOUT MOJAVE
mac::speech5.18
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.18.2 2017-10-06 Speech(3)