Project

General

Profile

Actions

Bug #4162

closed

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

Added by westor (GR) over 5 years ago. Updated over 5 years 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!

Actions #1

Updated by westor (GR) over 5 years ago

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

Actions #2

Updated by Per Amundsen over 5 years 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.

Actions #3

Updated by Per Amundsen over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF