Changes between Initial Version and Version 1 of Ticket #2116


Ignore:
Timestamp:
03/23/10 18:36:14 (10 years ago)
Author:
andrew_b
Comment:

Two solutions can be implemented:

  • use %% instead of % to escape MC substitutions. In this case user have to write
    date "+%%Y-%%m-/root/.mc/cedit T %%H:%%M:qqq"
    
  • use some special symbol (@ for example) as a start symbol of command to disable all MC substitutions in that command:
    @date "+%Y-%m-/root/.mc/cedit T %H:%M:qqq"
    

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2116

    • Property Version changed from version not selected to 4.7.1
  • Ticket #2116 – Description

    initial v1  
    11MC - 4.7.0.2 
    2 compiled as i686 
    3 without subshell 
     2compiled as i686 without subshell 
    43Target OS: FreeBSD (tried on 6.x, 7.x, 8.0) 
    54Run in SSH terminal session via PuTTy. 
     
    87 
    98Attempt to execute command: 
    10 date "+%Y-%m-%d T %H:%M:%S"  
    11 in the command line of MidnightCommander 
    12 return result: 
     9{{{ 
     10date "+%Y-%m-%d T %H:%M:%S" 
     11}}} 
     12in the command line of !MidnightCommander return result: 
     13{{{ 
    1314# date "+%Y-%m-/root/.mc/cedit T %H:%M:qqq" 
    14152010-03-/root/.mc/cedit T 08:03:qqq 
     16}}} 
    1517 
    16 I believe it was evaluated were as a menu script, since 
    17 %d %S was evaluated as internal MC substitution 
    18  
     18I believe it was evaluated were as a menu script, since %d %S was evaluated as internal MC substitution.