You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#...to extract it's parameters, making sure not more than 4 fields are created...
135
135
136
-
proj=`proj -l=$i| tr -d "\t"| sed 's/^ *//g'| sed 's/ : /\n/'| sed "s/'/''/g"| awk '{print "'\''"$0"'\''"}'| tr "\n"","| sed 's/,$/\n/'| sed "s/','/ /4g"`
136
+
proj=$(proj -l=$i| tr -d "\t"| sed 's/^ *//g'| sed 's/ : /\n/'| sed "s/'/''/g"| awk '{print "'\''"$0"'\''"}'| tr "\n"","| sed 's/,$/\n/'| sed "s/','/ /4g")
137
137
138
138
#...count the number of parameters...
139
139
140
-
proj_nf=`echo $proj| awk -F"','"'{print NF}'`
140
+
proj_nf=$(echo $proj| awk -F"','"'{print NF}')
141
141
142
142
#...if only 3 (3 or 4 are possible) add an empty 4th one.
143
143
@@ -189,24 +189,24 @@ pop_tbl_srss ()
189
189
{
190
190
# Populate SRSs table:
191
191
192
-
gdal_share=`gdal-config --datadir`
192
+
gdal_share=$(gdal-config --datadir)
193
193
no=0
194
194
195
195
# Extract projected SRSs from the installed GDAL pcs.csv file:
0 commit comments