08-18-2019
Then your example was misleading me. Any time I see complexity like you describe, it makes me wonder about the analysis performed. Should be looked at. But when we get fractional part of it, we end up playing 20 questions (if you know the game) and not really helping you. So I'm in the way of progress here. I'll let Rudi see if he can get through to what you need and asked for - note those are not always the same.
Last edited by jim mcnamara; 08-18-2019 at 11:55 PM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need an assistance in file generation using awk, sed or anything...
I have a big file that i need to filter desired parts only. The objective is to select (and print) the report # having the string "apple" on 2 consecutive lines in every report. Please note that the "apple" line has a HEX... (1 Reply)
Discussion started by: apalex
1 Replies
2. Shell Programming and Scripting
How to change ip using awk or sed .
#cat /etc/hosts
10.151.5.1 server1
10.151.5.2 server2
10.151.5.3 server3
10.151.5.4 server4
10.151.5.5 server5
Output:
10.151.5.1 server1
10.181.5.2 server2
10.151.5.3 server3
10.181.5.4 server4
10.181.5.5 server5 (9 Replies)
Discussion started by: kenshinhimura
9 Replies
3. Shell Programming and Scripting
Many of my servers' /etc/group file have many userid's that does not exist in /etc/passwd file and they need to be deleted.
This happened due to manual manipulation of /etc/passwd files.
I need to do this for 40 servers.
Can anyone help me in achieving this? Even reducing a step or two will be... (6 Replies)
Discussion started by: pdtak
6 Replies
4. Linux
I have a log file on our system which fills up with lines that have been timestamped, as follows....
03/03/2008 10:56:06:815] (ERROR) balance: continuing session to genapp02 : 18500
03/03/2008 10:56:06:820] (ERROR) balance: continuing session to genapp02 : 18500
03/03/2008 10:56:07:003]... (2 Replies)
Discussion started by: davesimm
2 Replies
5. Shell Programming and Scripting
suppose if u have a file like that
Hen ABCCSGSGSGJJJJK 15
Cock ABCCSGGGSGIJJJL 15
* * * * * * : * * * . * * * :
Hen CFCDFCSDFCDERTF 30
Cock CHCDFCSDHCDEGFI 30
* . * * * * * * * : * * :* : : .
The output shud be
where there is : and .
It shud... (4 Replies)
Discussion started by: cdfd123
4 Replies
6. Shell Programming and Scripting
I get a CSV file every day with 2 columns and multiple rows
ex:
date1,date2 ( both the fields are varchar fields)
This data has to be updated in a table which is being done manually and i want to automate that.
1. I have to select all the data from the prod table( 2 columns { date1,date2}) into... (4 Replies)
Discussion started by: kkb
4 Replies
7. Shell Programming and Scripting
So I'm new to this sed command and I am trying to create a script that replaces ip addresses when I name a file but can't tweak it to work.
Here is what it looks like:
#!/bin/bash
#
file=$1
#
sed -e 's/-CPUaddr 10.30.10.166/-CPUaddr 10.30.10.151/g' -i "$file"
sed -e 's/-CPUaddr... (10 Replies)
Discussion started by: uradunce
10 Replies
8. Shell Programming and Scripting
I want change the file when the line contains $(AA) but NOT contains $(BB), then change $(AA) to $(AA) $(BB)
eg:
$(AA) something
$(AA) $(BB) something (7 Replies)
Discussion started by: yanglei_fage
7 Replies
9. Shell Programming and Scripting
My first comment on every file contains the license message. I want to replace with a new license message. I used the below sed script, which replaces all comments. What is the modification or any other method with awk script for the below to edit only the first comment(license message)?
#sed -f... (1 Reply)
Discussion started by: vpshastry
1 Replies
10. Shell Programming and Scripting
I have a csv file formatted like this:
2014-08-21 18:06:26,A,B,12345,123,C,1232,26/08/14 18:07and I'm trying to change it to MM/DD/YYYY HH:MM for both occurances.
I have got this:
awk -F, 'NR <=1 {print;next}{"date +%d/%m/%Y\" \"%H:%m -d\""$1 "\""| getline dte;$1=dte}1' OFS="," test.csvThis... (6 Replies)
Discussion started by: say170
6 Replies
LEARN ABOUT DEBIAN
pianobooster
PianoBooster(6) PianoBooster(6)
NAME
pianobooster - learn the piano just by playing a game
DESCRIPTION
Piano Booster is piano teaching software that can provide piano lessons for beginners as well as for advanced players. It can be used for
teaching music theory and is useful for piano practice and learning piano technique.
SYNOPSIS
pianobooster [flags] [midifile]
OPTIONS
-d Increase the debug level
-q Quick start
-h, --help
Display a help message
-v Display the version number and exit
USAGE
Piano Booster is a fun way of playing along with a musical accompaniment and at the same time learning the basics of reading musical nota-
tion. The difference between playing along to a CD or a standard midi file is that Piano Booster listens and follows what you are playing
on a midi piano keyboard.
The program has been designed to allow you to play along on a midi piano keyboard with the scrolling notes shown on the screen. The notes
you press on the keyboard appear as coloured lines on the musical stave, the colour of which depends whether you have pressed the right or
wrong note.
A different musical instrument sound is used for your playing depending whether you are playing the right or wrong notes. This feature also
allows Piano Booster to be used with printed sheet music so you can hear if you are playing the right notes while at the same time keeping
your eyes on the printed score. The music accompaniment will automatically wait for you to find and play the correct notes in the piece.
Timing markers show whether you are playing ahead or behind of the beat. They appear as white crosses that are drawn over the note.
FEATURES
- Piano Booster follows you when playing along to a musical accompaniment. If you stop, then so does the music.
- Play a single hand and Piano Booster will play the other hand, as well as the rest of instruments, in time with you.
- Change the speed of playback to match your playing ability.
- Transpose +/- 12 semitones without stopping the play back.
- Change the Key Signature of the piece.
- Plays any standard midi or kar file.
- Play along to any instrument in the midi file.
- Adjust the volume of the current part or the volume your piano part.
- See how accurate you're playing.
- Change the start bar to start playing from any bar in the music. The repeat bars allows you to practice just a few difficult bars contin-
uously.
- Timing markers are white crosses that are drawn over each note and show if you are playing ahead or behind the beat.
- A different instrument sound is used for the right and wrong notes that you play.
SEE ALSO
You can find more about the game on its homepage: http://pianobooster.sourceforge.net/
AUTHOR
The game has been written by Louis J. Barman <louisjb@users.sourceforge.net>. This manual page was written by Miriam Ruiz <lit-
tle_miry@yahoo.es> for the Debian project.
PianoBooster(6)