Issues with test 3

Jeff Vian jvian10 at charter.net
Wed Mar 1 01:36:12 UTC 2006


On Tue, 2006-02-28 at 11:32 +0000, Mike Martin wrote:
> On 2/28/06, Jeff Vian <jvian10 at charter.net> wrote:
> > On Mon, 2006-02-27 at 11:12 +0000, Mike Martin wrote:
> > > Hi
> > >
> > > I installed test 3 last night and I have the following issues
> > >
> > > 1. Bash scripts not picking up varaiable eg:
> > >
> > > this (very simple) script
> > >
> > > ffmpeg -i $2 -b $1 $3
> > >
> > > when run results in a message from ffmpeg about io error (no file)
> > >
> > Is this run from the command line?  If so then $1, $2, and $3 have no
> > values.  These variables are initialized from the command like making
> > the call and exist only within the script environment.
> >
> > for example
> > script 1 2 3
> > would call a script named script and within that script the variables
> > $1, $2, and $3 would have the values 1, 2, and 3 respectively.
> >
> > If you are calling a script that then calls ffmpeg with the line given
> > then that should work.
> >
> >
> 
> sorry not to be clearer but that is what I am doing - the script
> worked before upgrading
> 
> the script is
> 
> #!/bin/bash
> ffmpeg -i $2 -b $1 <other options> $3
> 
> 

Within the script, and before the line that calls ffmpeg you might try
putting in 3 echo commands to see if the value is actually being seen.
You also might need to put "" around the variables in the line calling
ffmpeg (such as "$1" ) although that does not seem it should be needed.

---
#!/bin/bash
echo "this is value 1: $1"
echo "this is value 2: $2"
echo "this is value 3: $3"
ffmpeg -i $2 -b $1 <other options> $3
---

I just tried it on my FC5t3 x86_64 box and the values were passed 
properly.  I did not try it with ffmpeg but the echo worked and 
passing the values to the called command also worked.



> this is run as script name number input file output file
> 
> >
> > > 2. Naulitlus burn gives no chance to change burn speed
> > >
> > > 3. On an exiting user account menu entries are sparse (ie some
> > > installed apps missing)
> > >
> >
> > --
> > fedora-test-list mailing list
> > fedora-test-list at redhat.com
> > To unsubscribe:
> > https://www.redhat.com/mailman/listinfo/fedora-test-list
> >
> 




More information about the fedora-test-list mailing list