Hi ,
My requirement is that i need to search for a number of strings in a log file and print them with line numbers.The search should be date wise.
The sample log file is :
Jan 17 02:45:34 srim6165 MQSIv500: (UKBRKR1P_B.LZ_
BENCHMARKS)BIP2648E: Message backed out to a queue; node... (6 Replies)
Hello, I'm a computer science major and I'm having problems dealing with file names with spaces in them. Particularly I'm saving a file name in a variable and then using the variable in a compare function i.e.
a='te xt.txt'
b='file2.txt'
cmp $a $b
If anyone could help me with this particular... (10 Replies)
Hello,
I want to run one (not multiple) action if an element doesn't exist in array.
for example:
@array = (1..10);
foreach $el (@array)
{
if ($el != 11)
{
print "number not found\n";
}
}
the output of this simple script:
number not found (3 Replies)
Hi, I just wondering I done program which will list .jpg extension file but if there is not .jpg file in current directory display error how to do it ; here is my code
#!/bin/sh
echo "Enter a program function :" # declear User input
read func1 func2
## user must input list follow by... (1 Reply)
Hello, I am working on a coding project for a class and to test the program I have created, I have come up with 100 different test cases. The program takes four text files as input, so each of the test cases is contained in a folder with four files.
I have a folder called 'tests', within which... (1 Reply)
I write this bit of code to calculate the mean and variance for all the files in one directory and print the mean and variance in a separate folder but with the same file name.
FILES="data/*"
for X in $FILES
do
name=$(basename $X)
awk '{x=$0; s+=$0; n++}
END{mean=s/n; for (i in x){ss... (20 Replies)
Korn Shell
I have hundreds of small files like below created every day. A midnight cron job moves them to the location /u04/temp/logs
But sometimes I have to manually move these files based a certain dates or time.
I have two basic requirements
1.Using mv command I want to move all .dat... (2 Replies)
Hello,
I'm attempting to write a tool that checks an IP address for existing PTR records then if there are no PTR records does a ping to see if it response.
Then if there is no response, it should print a message saying
This is what I have so far.
#!/usr/bin/perl
$nxdomain =... (4 Replies)
The following command to replace text in place in multiple files in a directory is tripping up on filename spaces (Windows environment). I really don't know Perl.
find '\\server\directory' | xargs perl -pi -e 's/textA/textB/g'Mike (2 Replies)
Discussion started by: Michael Stora
2 Replies
LEARN ABOUT DEBIAN
composite_midi
COMPOSITE_MIDI(7) Reference COMPOSITE_MIDI(7)NAME
composite_midi - Default MIDI Implementation for Composite
DESCRIPTION
The default MIDI implementation for Composite is a fixed MIDI implementation. Future versions of Composite will allow you to redefine the
MIDI implementation, but a default MIDI Implementation will always be provided.
This description of the MIDI implementation only covers the sampler plugin. At this time it does not apply to the composite-gui.
MIDI IMPLEMENTATION
+------------------------+-------------+-----------------+-------------------------+
| Function | Transmitted | Recognized | Remarks |
+------------------------+-------------+-----------------+-------------------------+
| Basic Channel | NO | 1-16 | Always listens in OMNI |
| | | | mode, will change in |
| | | | future. |
+------------------------+-------------+-----------------+-------------------------+
| Mode | NO | NO | |
+------------------------+-------------+-----------------+-------------------------+
| Note Number | NO | 36-127 | Depends on drum kit. |
+------------------------+-------------+-----------------+-------------------------+
| Note Velocity | NO | 0-127 | |
+------------------------+-------------+-----------------+-------------------------+
|Polyphonic After Touch | NO | NO | |
+------------------------+-------------+-----------------+-------------------------+
| Channel After Touch | NO | NO | |
+-----------------+------+-------------+-----------------+-------------------------+
| | 0 | NO | 0-127 | Bank (coarse) |
| +------+-------------+-----------------+-------------------------+
| | 7 | NO | 0(min)-127(max) | Volume (coarse) |
| +------+-------------+-----------------+-------------------------+
| | 32 | NO | 0-127 | Bank (fine) |
| +------+-------------+-----------------+-------------------------+
| Control Change | 39 | NO | 0(min)-127(max) | Volume (fine) |
| +------+-------------+-----------------+-------------------------+
| | 120 | NO | 0-127 | All Sound Off (value is |
| | | | | ignored) |
| +------+-------------+-----------------+-------------------------+
| | 123 | NO | 0-127 | All Sound Off (value is |
| | | | | ignored) |
+-----------------+------+-------------+-----------------+-------------------------+
| Program Change | NO | 0-127 | User-defined presets, |
| | | | depends on the bank |
| | | | setting (CC #0, 32) |
+------------------------+-------------+-----------------+-------------------------+
| System Exclusive | NO | NO | |
+------------------------+-------------+-----------------+-------------------------+
| System Common | NO | NO | |
+-----------------+------+-------------+-----------------+-------------------------+
| | 0xF8 | NO | NO | Clock Pulse |
| +------+-------------+-----------------+-------------------------+
| | 0xFA | NO | NO | Start |
| +------+-------------+-----------------+-------------------------+
| | 0xFB | NO | NO | Continue |
|System Real Time +------+-------------+-----------------+-------------------------+
| | 0xFC | NO | NO | Stop |
| +------+-------------+-----------------+-------------------------+
| | 0xFE | NO | NO | Active Sensing |
| +------+-------------+-----------------+-------------------------+
| | 0xFF | NO | YES | System Reset/Panic |
+-----------------+------+-------------+-----------------+-------------------------+
SEE ALSO composite_sampler(1)AUTHOR
Gabriel M. Beddingfield
<gabriel@teuton.org>
Composite 03/18/2010 COMPOSITE_MIDI(7)