Open dwayne-hart opened 4 years ago
quiet mode: suppress the progress bar
~man page and / or a help switch~ (35f28f8)
~Perl regular expression~ (https://github.com/DFO-Ocean-Navigator/netcdf-timestamp-mapper/issues/16#issuecomment-570250480)
(index-tool) datadm@u1804-indexing:~/netcdf-timestamp-mapper/build$ ls /data/eccc_forecasts_netcdf/riops_forecast/2D/LL/ | grep -P "^2019[10-12].*(00|06|12|18).*_00[0-5]_2D_latlon0.1x0.1.nc$" | awk '{print "/data/eccc_forecasts_netcdf/riops_forecast/2D/LL/"$1}' > riops_fc-2d-ll.txt
~Allow regex engine to be chosen (egrep by default).~ (76c0983)
~Don't auto-delete input file.~
Perl regex engine isn't supported by the c++ standard library, but everything supported has been made available with `egrep being the default. Just check --help.
`egrep
--help
quiet mode: suppress the progress bar
~man page and / or a help switch~ (35f28f8)
~Perl regular expression~ (https://github.com/DFO-Ocean-Navigator/netcdf-timestamp-mapper/issues/16#issuecomment-570250480)
(index-tool) datadm@u1804-indexing:~/netcdf-timestamp-mapper/build$ ls /data/eccc_forecasts_netcdf/riops_forecast/2D/LL/ | grep -P "^2019[10-12].*(00|06|12|18).*_00[0-5]_2D_latlon0.1x0.1.nc$" | awk '{print "/data/eccc_forecasts_netcdf/riops_forecast/2D/LL/"$1}' > riops_fc-2d-ll.txt
~Allow regex engine to be chosen (egrep by default).~ (76c0983)
~Don't auto-delete input file.~