Changeset 66 for trunk/bibopa.sh
- Timestamp:
- 05/14/08 17:35:50 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bibopa.sh
r65 r66 417 417 # strip comments 418 418 fileraw_strict=/tmp/$(basename ${fileraw})_strict 419 grep -v "^#" ${fileraw} > ${fileraw_strict}419 grep -v "^#" ${fileraw} | grep -v "^%" > ${fileraw_strict} 420 420 totlines=$( wc -l ${fileraw_strict} | awk '{print $1}' ) 421 421 l=1 … … 435 435 # before the last , 436 436 auths=${tmp%,*}, 437 # replace " and" by ","437 # replace " and " by "," 438 438 auths=$( echo "${auths}" | sed -e "s/ and /,/g" ) 439 # replace " et " by "," 440 auths=$( echo "${auths}" | sed -e "s/ et /,/g" ) 439 441 # after the last , 440 442 year=${tmp##*,} … … 712 714 pag=${endline##*,} 713 715 pag=$( cleanname "${pag}" ) 714 #set 716 #set 715 717 #read a 716 718 cat <<EOF >> ${fileou} … … 736 738 ;; 737 739 10) 738 publishername=${endline%%Editors,*} 740 publishername=${endline%%Editors,*} 739 741 publishername="${publishername} Editors" 740 742 publishername=$( cleanname "${publishername}" ) … … 771 773 EOF 772 774 unset isbn 773 unset agu 775 unset agu 774 776 unset pag 775 777 unset publishername … … 800 802 unset title 801 803 unset vol 802 unset year 804 unset year 803 805 unset pag 804 806 l=$(( ${l} + 1 ))
Note: See TracChangeset
for help on using the changeset viewer.