To get this right:
Split takes column 2, splits the string at the x's and saves its output in an array(like) variable for later usage.
Sadly, pixels get calculated to 0 but the bold text is working, thank you.
I'm now stuck at further parsing of bitrates, i'd like to put a 'kb' at its end as long bitrates do not exceed 1mb, then 'mb' should be appended.
But this doesnt show any output at all
Thank you in advance
EDIT:
So with Scrutinizer's suggestion, and commented out the switch block,
i get this:
Regarding the comments, do i need to have to blindly append columns after $6, so all the words of any possible comments become shown?
Hi,
My file has 2 fields and millions of lines.
variableStep chrom=Uextra span=25
201 0.5952
226 0.330693
251 0.121004
276 0.0736858
301 0.0646982
326 0.0736858
401 0.2952
426 0.230693
451 0.221004
476 0.2736858
Each field either has a... (6 Replies)
I am trying to do some math, so that I can compare the average of six numbers to a variable.
Here is what it looks like (note that when I divide really big numbers, it isn't a real number):
$ tail -n 6 named.stats | awk -F\, '{print$1}'
1141804
1140566
1139429
1134210
1084682
895045... (3 Replies)
hi I want to write a script, while using the SED editor, to output the text, in this case a variable, to the result file but highlighted it in bold, is it possible to do that? can you tell me how?
eg. in text.txt
sed '$ a\
'$variable'
' <text.txt >text2.txt
so it will add the... (2 Replies)
Hi I have this list
592;1;Z:\WB\DOCS;/FS3_100G/FILER112/BU/MPS/DOCS;;;;\\FILER112\BUMPS-DOCS\;580,116,544,878 Bytes;656,561 ;77,560
592;2;Z:\WB\FOCUS;/FS3_100G/FILER112/BU/MPS/FOCUS;;;;\\FILER112\BUMPS-FOCUS\;172,430 Bytes;6 ;0 ... (12 Replies)
Based on input
ail,UTT,id1_0,COMBO,21,24,21,19,85
al,UTHAST,id1_0,COMBO,342,390,361,361,1454
and awk code as
awk -F, '{ K=0; for(i=NF; i>=(NF-4); i--) { K=K+$i; J=J+$i;} { print K } } END { for ( l in J ) printf("%s ",J); }'
I'm trying to add columns and lines in single line. line... (6 Replies)
Hi
main object is categorize the difference of data-values (TLUFT02B - TLUFT12B).
herefor i read out data-files which are named
acording to the timeformat yyyymmddhhmm.
WR030B 266.48 Grad 0
WR050B 271.46 Grad 0
WR120B 268.11 Grad 0
WV030B 2.51 m/s ... (6 Replies)
Hi expert,
I have log :
TOTAL-TIME : 2125264636
DATA-BYTES-DOWN : 3766111307032
DATA-BYTES-UP : 455032157567
DL = (3766111307032/2125264636)/1024 = 1.73
UL = (455032157567/2125264636)/1024 = 0.21
I want the result :
TOTAL = 1.94 ... (4 Replies)
FYI,
I'm slowly removing a lot of the bold font-styles from titles of discussions, forum titles, etc
I'm not removing bold for the entire site because we do need bold from time to time, especially in posts and sometimes in other places.
However, the original forum style had way too much... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT DEBIAN
mp3fs
MP3FS(1) User Commands MP3FS(1)NAME
mp3fs - mounts and transcodes FLACs to MP3s on the fly
SYNOPSIS
mp3fs [OPTION]... FLACDIR MP3DIR
DESCRIPTION
The mp3fs(1) command will mount the directory FLACDIR on MP3DIR. Thereafter, accessing MP3DIR will show the contents of FLACDIR, with all
FLAC files transparently renamed and transcoded to MP3 format upon access.
OPTIONS -b, -obitrate=RATE
Set the bitrate to use for encoding. Acceptable values for RATE are any which are allowed by the MP3 format. According to the manual
for LAME, this means:
For sampling frequencies of 32, 44.1, and 48 kHz, RATE can be among 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, and 320.
For sampling frequencies of 16, 22.05, and 24 kHz, RATE can be among 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, and 160.
When in doubt, it is recommended to choose a bitrate among 96, 112, 128, 160, 192, 224, 256, and 320. If not specified, RATE defaults
to 128.
-d, -odebug
Enable debug output. This will result in a large quantity of diagnostic information being printed to stderr as the program runs. This
option will normally not be used. It implies -f.
--gainmode, -ogainmode=MODE
Set mode to use for interpreting ReplayGain tags. The allowed values for MODE are:
0 - Ignore all ReplayGain tags.
1 - Prefer album gain tag, but fall back to track gain if album gain is not present.
2 - Use track gain if present.
--gainref, -ogainref=REF
Set the reference loudness in decibels to adjust ReplayGain tags. ReplayGain software usually defaults to a loudness of 89 dB, but if
this is too quiet, a higher value can be set here, causing adjustment of ReplayGain values in tags.
-f
Run in foreground instead of detaching from the terminal.
-h, --help
Print usage information.
--quality, -oquality=QUALITY
Set quality for encoding, as understood by LAME. The slowest and best quality is 0, while 9 is the fastest and worst quality. The
default value is 5, although according to the LAME manual, 2 is recommended.
-s
Force single-threaded operation.
-V, --version
Output version information.
COPYRIGHT
Copyright (C) 2006-2008 David Collett and 2008-2011 Kristofer Henriksson. This is free software: you are free to change and redistribute it
under the terms of the GNU General Public License (GPL) version 3 or later.
This manual is copyright (C) 2010-2011 Kristofer Henriksson and may be distributed under the same terms.
mp3fs 0.31 June 2012 MP3FS(1)