[Thread Prev][Thread Next][Index]

[ferret_users] grave accent and string problem




Hi ferret users,

I am trying to generate a file name by giving arguments to a script,
(i.e  go test.jnl  2007 11 03 126.1150 27.26800 00)

=====  the test.jnl is like this,
let yy = $1
let mm = $2
let dd = $3
let lon = $4
let lat = $5
list/format=(f7.0,2f4.0,2f10.4)/file="test_`$1`$2`$3`$6_$4_$5.txt"/clobber/nohead
 yy,mm,dd,lon,lat

========================================

but it does not generate the txt file that I deserve,
the third argument begin with zero (i.e 03),
however the filename did not include this zero.
(i.e test_200711300_126.1150_27.26800.txt)

I tried the all combination of grave accent to include the zero of
third argument with no success.

How can I put the zero in the file name?
did I miss something?


Thank you very much in advance,
Murat











[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement