| 33 |
|
'_EOF_' |
| 34 |
|
|
| 35 |
|
echo "# Output generated by $0 from $*" |
| 36 |
+ |
sed -e '/^[^#]/d' -e '/^$/d' $* |
| 37 |
|
|
| 38 |
|
cat > /tmp/out$$.fmt << '_EOF_' |
| 39 |
|
|
| 43 |
|
3 ${Rtn} ${Gtn} ${Btn} |
| 44 |
|
'_EOF_' |
| 45 |
|
|
| 46 |
< |
rcalc -e 'abs(x):if(x,x,-x);and(a,b):if(a,b,a);not(x):if(x,-1,1)' \ |
| 46 |
> |
rcalc -l -e 'abs(x):if(x,x,-x);and(a,b):if(a,b,a);not(x):if(x,-1,1)' \ |
| 47 |
|
-e 'lum(r,g,b):.265*r+.670*g+.065*b' \ |
| 48 |
|
-e 'trans=lum(Rtau,Gtau,Btau)' \ |
| 49 |
|
-e 'rfront=lum(fRrho,fGrho,fBrho);rback=lum(bRrho,bGrho,bBrho)' \ |
| 64 |
|
${bRrho} ${bGrho} ${bBrho} |
| 65 |
|
'_EOF_' |
| 66 |
|
|
| 67 |
< |
rcalc -e 'abs(x):if(x,x,-x);and(a,b):if(a,b,a);not(x):if(x,-1,1)' \ |
| 67 |
> |
rcalc -l -e 'abs(x):if(x,x,-x);and(a,b):if(a,b,a);not(x):if(x,-1,1)' \ |
| 68 |
|
-e 'lum(r,g,b):.265*r+.670*g+.065*b' \ |
| 69 |
|
-e 'trans=lum(Rtau,Gtau,Btau)' \ |
| 70 |
|
-e 'rfront=lum(fRrho,fGrho,fBrho);rback=lum(bRrho,bGrho,bBrho)' \ |
| 85 |
|
${bRrho} ${bGrho} ${bBrho} |
| 86 |
|
'_EOF_' |
| 87 |
|
|
| 88 |
< |
rcalc -e 'abs(x):if(x,x,-x);and(a,b):if(a,b,a);not(x):if(x,-1,1)' \ |
| 88 |
> |
rcalc -l -e 'abs(x):if(x,x,-x);and(a,b):if(a,b,a);not(x):if(x,-1,1)' \ |
| 89 |
|
-e 'lum(r,g,b):.265*r+.670*g+.065*b' \ |
| 90 |
|
-e 'trans=lum(Rtau,Gtau,Btau)' \ |
| 91 |
|
-e 'rfront=lum(fRrho,fGrho,fBrho);rback=lum(bRrho,bGrho,bBrho)' \ |