[Ffmpeg-devel] bash substitutions

matthieu castet castet.matthieu
Sun Dec 18 14:16:26 CET 2005

M?ns Rullg?rd wrote:
> Rich Felker <dalias at aerifal.cx> writes:
>>>you could use on sh :
>>>Something like ${lavu_version%%.[^.]*} should work
>>Or ${lavc_version%.*}
>>However, is this portable, or is it yet another bashism??
According to POSIX it should be in sh : 
> Solaris /bin/sh dislikes both.
But there are maybe no-POSIX compliant sh...


More information about the ffmpeg-devel mailing list