sqlmig: support des préfixes alphanumériques pour les fichiers csv
This commit is contained in:
parent
fe0e2718d8
commit
d620760681
2
sqlmig
2
sqlmig
|
@ -1277,7 +1277,7 @@ for dbdir in "${dbdirs[@]}"; do
|
||||||
eval "$(awk '{
|
eval "$(awk '{
|
||||||
truncate = ($0 ~ /-data_truncate(.devel)?.csv$/)? "1": ""
|
truncate = ($0 ~ /-data_truncate(.devel)?.csv$/)? "1": ""
|
||||||
sub(/^.*\//, "")
|
sub(/^.*\//, "")
|
||||||
sub(/^[0-9.]*[0-9]-?/, "")
|
sub(/^[A-Z0-9.]*[0-9]-?/, "")
|
||||||
sub(/\.csv$/, "")
|
sub(/\.csv$/, "")
|
||||||
sub(/\.devel$/, "")
|
sub(/\.devel$/, "")
|
||||||
sub(/-data(_[a-z]+*)?$/, "")
|
sub(/-data(_[a-z]+*)?$/, "")
|
||||||
|
|
Loading…
Reference in New Issue