English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 08 June 2018, 00:11   #1
TuKo
Apollo Team
 
TuKo's Avatar
 
Join Date: May 2014
Location: not far
Posts: 379
lzx 1.21 bug ?

Hi,


Is anyone able to pack with lzx 1.21r (y2k fixed) a directory which contains "(" or ")" in its name ?


Best Regards
TuKo is online now  
Old 08 June 2018, 12:55   #2
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
I'm using http://aminet.net/package/util/arc/LZX_Y2Kfix and directories with "(" and/or ")" seems to work fine (pack and unpack). There exists another Y2k fix at Aminet from a different author that you may use?
daxb is offline  
Old 08 June 2018, 23:31   #3
TuKo
Apollo Team
 
TuKo's Avatar
 
Join Date: May 2014
Location: not far
Posts: 379
Hmm. Same.

Could it be dos.lib or FS related (using pfs3aio last 19.1 beta from Toni) ?
TuKo is online now  
Old 09 June 2018, 12:33   #4
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
(Un-)Pack from/to Ram: then you can exclude FS. Dos.library shouldn't make problems but check for version and patches that may cause it. Compare with other archivers like LHA. Btw. do you have the problem or someone else reported to you?
daxb is offline  
Old 09 June 2018, 15:01   #5
TuKo
Apollo Team
 
TuKo's Avatar
 
Join Date: May 2014
Location: not far
Posts: 379


TuKo is online now  
Old 09 June 2018, 15:18   #6
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
It does not work because it confuses pattern-matching.
This is why using special characters in filenames is not recommended.
Similar story with "~", "#", "?".

Even though you can trick lha (not lzx) by using #? instead of the directory name, this is calling for trouble in any case.
meynaf is offline  
Old 09 June 2018, 15:45   #7
TuKo
Apollo Team
 
TuKo's Avatar
 
Join Date: May 2014
Location: not far
Posts: 379
Then, for safety, OS should not allow naming folders/filenames with such characters. Maybe an idea for OS >3.1.4
TuKo is online now  
Old 09 June 2018, 16:20   #8
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
Quote:
Originally Posted by TuKo View Post
Then, for safety, OS should not allow naming folders/filenames with such characters. Maybe an idea for OS >3.1.4
That would indeed have been a safe thing to do but now it's too late as there already are files/dirs with these characters around.
meynaf is offline  
Old 09 June 2018, 23:03   #9
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,337
Quote:
Originally Posted by TuKo View Post
Is anyone able to pack with lzx 1.21r (y2k fixed) a directory which contains "(" or ")" in its name ?
Can you give an example of a command line you're having trouble with?

You can "escape" pattern-matching characters with the ' symbol. Like this:
Code:
> echo hello >()()()()

> list
()()()()                             6 ----rwed Today     21:59:47
1 file - 3 directories - 8 blocks used

> lzx a test.lzx '(')'(')'(')'(')

LZX 1.21 (Registered) Archive/Extract utility - 68020/68030 Version.
Copyright © 1995 Data Compression Technologies.  All rights reserved.
Registered to the Amiga community for non-commercial use.

Creating new archive 'test.lzx':

  Adding (       6)  ()()()() %00%99   
  ** 1 file(s) added

Operation successful

> list
()()()()                             6 ----rwed Today     21:59:47
test.lzx                            55 ----rwed Today     22:00:13
2 files - 3 directories - 10 blocks used

> lzx t test.lzx

LZX 1.21 (Registered) Archive/Extract utility - 68020/68030 Version.
Copyright © 1995 Data Compression Technologies.  All rights reserved.
Registered to the Amiga community for non-commercial use.

Testing archive 'test.lzx':
  (       6) Tested OK: ()()()()

  ** 1 file(s) tested, all files OK

Operation successful
mark_k is offline  
Old 11 June 2018, 07:33   #10
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
Quote:
Originally Posted by mark_k View Post
You can "escape" pattern-matching characters with the ' symbol.
This doesn't work with directories.
meynaf is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug in x64 file requester and bug in Blizzard PPC ROM filesize headkase support.WinUAE 5 26 June 2016 14:17
UN LZX with GUI Stormrider request.Apps 8 17 March 2006 18:29
LZX Files Unregistered support.Apps 3 14 March 2005 03:13
LZX in windows ? MSC Retrogaming General Discussion 3 02 October 2004 22:47
LZX unpacking??? Medvind support.Apps 25 27 November 2002 12:33

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:11.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08902 seconds with 15 queries