Hi there,
may someone easily help me on this :
I want to insert a text in a specific line number like :
linenumb2start=`cat memory_map.dld | nl -ba | egrep -i "label" | cut -f1`
line2insert=`expr $linenumb2start + 2`
and now I need to replace something like {} with {comment} at... (8 Replies)
Hi,
I have the following example string:
today_is_a_good_day.txt
The character "_" inside the string can sometimes be more or less. The solution for every string equal the count of "_" should be alway the rest after the last underline character.
Result: day.txt
I want to use awk... (5 Replies)
Hi
I want to extract certain text between two line numbers like
23234234324 and
54446655567567
How do I do this with a simple sed or awk command?
Thank you.
---------- Post updated at 06:16 PM ---------- Previous update was at 05:55 PM ----------
found it:
sed -n '#1,#2p'... (1 Reply)
Hi ,
I have a huge file like this
=245 this is testing
=035 abc123
=245 this is testing1
=035 abc124
=245 this is testing2
=035 abc125
=035 abc126
=245 this is testing3
here i have to pull out those lines having two =035 instead of alternative 035 and 245 i.e extract... (18 Replies)
Hello,
I'm new to using AWK and would be grateful for some basic advice to get me started.
I have a file consisting of 10 fields. Initially I wish to calculate the number of . , ~ and ^ characters in the 9th field ($9) of each line. This particular string also contains alphabetical... (6 Replies)
Hello,
I have a file with over 100,000 lines. I would like to be able extract 5000 lines at a time and give it as an input to another program.
sed -n '1,5000p' <myfile> > myOut
Similarly for
5001-10000
10001-15000
....
How can I do this in a loop?
Thanks,
Guss (5 Replies)
Hi All,
I want to extract the lines from file1 by using the index numbers from file2. In example,
cat file1.txt
265 ABC 956 ...
698 DFA 456 ...
456 DDD 145 ...
125 DSG 154 ...
459 CGB 156 ...
490 ASF 456 ...
484 XFH 489 ...
679 hgt 481 ...
111 dfg 986 ...
356 vhn 444 ...... (7 Replies)
I have the following script that will print column 4 ("25") when column 1 contains "123". However, I need to ignore the alpha characters that are contained in the input file. If I were to ignore the characters my output would be column 3.
What is the best way to print my column of interest... (3 Replies)
Hi All,
i would like to get some help regarding extracting certain characters from a line grepped.
blahblah{1:F01IRVTUS30XXXX0000000001}{2:I103IRVTDEF0XXXXN}{4:blah
blahblah{1:F01IRVTUS30XXXX0000000001}{2:I103IRVTDEF0XXXXN}{4:blah... (10 Replies)
Discussion started by: mad man
10 Replies
LEARN ABOUT DEBIAN
aumakeelementimportwaveform
AuMakeElementImportWaveFrom(3) Library Functions Manual AuMakeElementImportWaveFrom(3)Name
AuMakeElementImportWaveForm - initialize an ImportWaveForm element
Synopsis
#include <audio/audiolib.h>
AuMakeElementImportWaveForm(element, sample_rate, wave_form, num_samples, freq, num_actions, actions)
AuElement *element; /* RETURN */
unsigned short sample_rate;
int wave_form;
AuInt32 freq;
AuInt32 num_samples;
int num_actions;
AuElementAction *actions;
Arguments
element Returns the initialized element.
sample_rate
Specifies the sample rate of the audio data.
wave_form Specifies the waveform to use. Currently, the following waveforms are defined: AuWaveFormSquare, AuWaveFormSine, AuWaveFormSaw,
and AuWaveFormConstant.
freq Specifies the frequency of the waveform.
num_samples
Specifies the number of samples to read. Use AuUnlimitedSamples to indicate an unlimited number of samples.
num_actions
Specifies the number of actions in actions.
actions Specifies the list of actions to associate with this element. Entries in this list can be initialized with AuMakeChangeStateAc-
tion, AuMakeSendNotifyAction, and AuMakeNoopAction. May be NULL.
Description
AuMakeElementImportWaveForm sets the type member of element to AuElementTypeImportWaveForm and initializes the importwaveform member of
element with the remaining arguments.
AuMakeElementImportWaveForm is implemented as a macro.
NoteS
A server might not support all the waveforms currently defined.
See Also
AuMakeElementAddConstant, AuMakeElementBundle, AuMakeElementExportBucket, AuMakeElementExportClient, AuMakeElementExportDevice, AuMakeEle-
mentExportMonitor AuMakeElementImportBucket, AuMakeElementImportClient, AuMakeElementImportDevice, AuMakeElementMultiplyConstant, AuMa-
keElementSum.
audiolib - Network Audio System C Language Interface
audiolib - element initialization 1.9.3 AuMakeElementImportWaveFrom(3)