Hi all,
I have a issue... Is it possible to compare integer value with decimal value.
If it is not possible,then how can i compare 2 decimal values in born shell.thanks! (3 Replies)
How can I compare two integer values which is stored in char pointers?
suppose I have char *a and char *b having values 10 and 20. how can i find the shorter value? (1 Reply)
Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP.
I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Please see how can I do this:
File A (three columns):
X1,Y1,1.01
X2,Y2,2.02
X3,Y3,4.03
File B (three columns):
X1,Y1,1
X2,Y2,2
X3,Y3,4.0005
Now I have to compare file A and B based on the integer part of column 3. Means first 2 rows should be OK and the third row should not satisfy... (12 Replies)
Hi guys,
I need for the bash code below a little bit help: cat script.sh
#!/bin/bash
5_MYVALUE="test"
echo "$5_MYVALUE"
If I try to run the script, got follow failure:
./script.sh
./script.sh: line 4: 5_MYVALUE=test: command not found
_MYVALUE
My questions are how... (4 Replies)
i need to do camparisions like the below.
For the case when first=10 and second=9.9 the scripts displays process failed.
I need to be able to convert the values to integer before doing the comparision.
Like 9.9 should be rounded over to 10 before doing comparision.
Please advice how can... (3 Replies)
I am running some commands and I am trying to get an output into a variable. I am having problem when I try to put that value in while loop, it says integer value expected. What's the best way to accomplish this
remaining=$(symclone -sid XXX -f Clone_test query | grep MB | awk '{print... (1 Reply)
Hi,
0.23 2.94% 0.00 0.00% 17.8G 55.7% 19.6G 40.9% 630 0.00%
0.06 0.77% - - 7524M 22.9% 15.6G 32.6% - -
From the above sample output. I need to compare whether the 6th field is more than 10G..if so print the entire line. Here the 6th field is memory
TIA (5 Replies)
Discussion started by: Sumanthsv
5 Replies
LEARN ABOUT DEBIAN
avifix
avifix(1) General Commands Manual avifix(1)NAME
avifix - fix header of AVI-file
SYNOPSIS
avifix [ -i name [ -F string ] [ -f val1,val2 ] [ -N 0x NN ] [ -b bitrate ] [ -e rate[,bits[,channels]] ] [ -a num ] [ -v ] ]
COPYRIGHT
avifix is Copyright (C) by Thomas Oestreich.
DESCRIPTION
avifix fixes the header of an AVI-file with the supplied parameters.
OPTIONS -i name
Specify the name of the AVI-file.
-F string
Specify the video codec as FourCC.
Possible values are RGB, RIFF and TIFF. ???
-f val1,val2
Use this option to change the frame rate and scale information in the header of the AVI-file. Both values must not be < 0.
-N 0xnn
Use this option to change the audio format identifier in the header of the AVI-file. Here are some possible values:
0x1 PCM uncompressed audio
0x50 MPEG layer-2 aka MP2
0x55 MPEG layer-3 aka MP3
0x2000 AC3 audio
-b bitrate
Use this option to change the encoder bitrate in the header of the AVI-file. bitrate has to be given in units of kbps.
-e rate[,bits[,channels]]
Use this option to change the audio stream parameters of in the header of the AVI-file.
-a num Use this option to change the audio stream parameters of audio track number num in the header of the AVI-file.
-v Print version information and exit.
EXAMPLES
The command
avifix -i my_file.avi -f 30,1
changes the header of the file my_file.avi and sets the frame rate to 30 fps.
AUTHORS
avifix was written by Thomas Oestreich
<ostreich@theorie.physik.uni-goettingen.de> with contributions from many others. See AUTHORS for details.
SEE ALSO avimerge(1), avisplit(1), tccat(1), tcdecode(1), tcdemux(1), tcextract(1), tcprobe(1), tcscan(1), transcode(1)avifix(1) 16th January 2002 avifix(1)