ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/psquish.csh
(Generate patch)

Comparing ray/src/px/psquish.csh (file contents):
Revision 3.4 by greg, Wed Feb 16 05:40:11 2005 UTC vs.
Revision 3.5 by greg, Mon Nov 10 19:08:19 2008 UTC

# Line 18 | Line 18 | if ( "$argv[1]" == "-a" ) then
18          shift argv
19   endif
20   if ( $#argv != 1 ) then
21 <        echo "Usage: $0 [-a] input.pic > output.pic"
21 >        echo "Usage: $0 [-a] input.hdr > output.hdr"
22          exit 1
23   endif
24   set ifile=$1
25   set ibase=$ifile:t
26 < if ( "$ibase" =~ *.pic ) set ibase=$ibase:r
26 > if ( "$ibase" =~ *.hdr ) set ibase=$ibase:r
27   set ibase=$ibase:t
28   onintr quit
29   pextrem -o $ifile > $tf0

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines