Suprious ' when saving files
Geodetic VLBI data analysis software.
Status: Beta
Brought to you by:
sergei-b
When saving files from the nuSolve plotter, the filenames have extra ' (single quote marks) around them. For example:
eskil@gyller:~/nuSolve/PlotterOutputs$ ls -alh
total 1008K
drwxrwxr-x 2 eskil eskil 4.0K Oct 5 11:31 .
drwxrwxr-x 7 eskil eskil 4.0K Oct 5 10:48 ..
-rw-rw-r-- 1 eskil eskil 82K Oct 5 11:31 '20AUG15VB_baselines_X-band[0:6]_000.dat'
-rw-rw-r-- 1 eskil eskil 96K Oct 5 11:31 '20AUG15VB_baselines_X-band[0:6]_001.dat'
-rw-rw-r-- 1 eskil eskil 99K Oct 5 11:31 '20AUG15VB_baselines_X-band[0:6]_002.dat'
I think this is a bug, i.e. the intended file names are likely without the quotation marks.
Hi Eskil,
The software does not add explicitly the single quota characters to the
file names.The chars could be added
by Qt if your locale environment requires it. Please, check it by setting
LANG=C and LC_ALL=C.
Kindly yours,
Sergei.
On Mon, Oct 5, 2020 at 6:02 AM Eskil Varenius varenius@users.sourceforge.net wrote:
Related
Tickets: #5
Thank you for the suggestion. My original settings were:
I changed the requested environment variables as
and then ran "nuSolve". Same result: filenames have ' at start and end:
So it seems the environment variables was not the problem. Do you have any other suggestions?
Hi Eskil,
Thank you for your mail. Unfortunately, I cannot answer your question right
now. I have checked sources, there are no
any quote marks that are added to the file names. Can you check log output,
how the names are displayed there?
You need to turn on debugging log level for "IO: generic text operations"
in the "Preferences".
If I find a reason for it, I will email you.
Kindly yours,
Sergei.
On Tue, Oct 6, 2020 at 6:48 AM Eskil Varenius varenius@users.sourceforge.net wrote:
Related
Tickets: #5
Hi Eskil,
The quote chars are added by ls command because the file names contain
chars that in
a shell command should be escaped with "\" char: "[", ":" and "]". So, you
can copy ls's output
and type, say,
cat '20AUG15VB_baselines_X-band[0:6]_000.dat'
or, you can skip quotes and escape only these three chars:
cat 20AUG15VB_baselines_X-band[0\:6]_000.dat
If you want ls do not print quotas you can use the "-b" option (c-style
escape) or, more generally,
the "--quoting-style=literal" option (print file names as is).
Kindly yours,
Sergei.
On Tue, Oct 6, 2020 at 6:48 AM Eskil Varenius varenius@users.sourceforge.net wrote:
Related
Tickets: #5
Aaaah, of course! That makes sense. So it's all in the eye of the beholder, not an issue in nuSolve. Thanks!