- Rename rnfh into rrfnfs (Rx3 ROM File Name Format Standard).

This commit is contained in:
agibert 2009-04-12 00:44:58 +00:00
parent 33c4b9a7c0
commit c38296927a

10
nds2rm
View File

@ -5,9 +5,9 @@
# (C) 2009 Arnaud G. Gibert # (C) 2009 Arnaud G. Gibert
#----------------------------------------------------------------------------------------------------------------------------------- #-----------------------------------------------------------------------------------------------------------------------------------
# $RCSfile: nds2rm,v $ # $RCSfile: nds2rm,v $
# $Revision: 1.14 $ # $Revision: 1.15 $
# $Name: $ # $Name: $
# $Date: 2009/04/11 22:57:02 $ # $Date: 2009/04/12 00:44:58 $
# $Author: agibert $ # $Author: agibert $
#----------------------------------------------------------------------------------------------------------------------------------- #-----------------------------------------------------------------------------------------------------------------------------------
@ -251,7 +251,7 @@ function env_setup()
;; ;;
esac esac
rnfh_regex=".... - .* \(.*:.*\) \[..\] \{........} <....>[-]*[0-9]*\.${csfx}$" rrfnfs_regex=".... - .* \(.*:.*\) \[..\] \{........} <....>[-]*[0-9]*\.${csfx}$"
} }
@ -877,7 +877,7 @@ function arc_ident()
# Type of archive ? # Type of archive ?
if [[ ${file} =~ ${rnfh_regex} ]] if [[ ${file} =~ ${rrfnfs_regex} ]]
then then
eval ${arc_type_ptr}="rx3" eval ${arc_type_ptr}="rx3"
else else
@ -1419,7 +1419,7 @@ function fp_scan()
# Type of archive ? # Type of archive ?
if [[ ${file} =~ ${rnfh_regex} ]] if [[ ${file} =~ ${rrfnfs_regex} ]]
then then
fp=${file/*\} \</}; fp=${fp/\>*/} fp=${file/*\} \</}; fp=${fp/\>*/}
status=${file/* \[/}; status=${status/\] \{*/} status=${file/* \[/}; status=${status/\] \{*/}