Project

General

Profile

Bug #4162

/filer [infile] parameter doesn't work with quotes

Added by westor (GR) about 1 month ago. Updated 29 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
10/17/2018
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

There is a bug, when i use /filter -og and for outfile path i use $qt(PATH) to specify the long version path of the file
it returns an error and is not working.

Example Code:

dialog -l test_2 {
  title "TEST" 
  size -1 -1 127 55
  option dbu
  list 1, 2 3 123 50, size vsbar multsel extsel
}

ON *:DIALOG:test_2:init:*: { filter -og $qt($adiirctest.ini) $dname 1 ^\[[^\]]+\]$ }

alias test_2 { dialog -md test_2 test_2 }

- Thanks!

History

#1

Updated by westor (GR) about 1 month ago

Typo in title: /filter -og returns an error on long paths via $qt()

#2

Updated by Per Amundsen 29 days ago

  • Subject changed from /filer -og returns an error on long paths to /filer [infile] parameter doesn't work with quotes
  • Status changed from New to Resolved

I assume you meant $adiircdirtest.ini and not $adiirctest.ini.

There is no problem with the path/filename, but the quotes are not removed.

#3

Updated by Per Amundsen 29 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF