ok, I have two files:

testing1.tar with a file named [testing]

testing2.tar with a file named te[st]ing

----------------------------

unar testing1.tar [testing]
testing1.tar: Tar
No files extracted.





unar testing2.tar te[st]ing
testing2.tar: Tar
No files extracted.

----------------------------------

And now, using the patch:





unar testing1.tar [testing]
testing1.tar: Tar
  [testing]  (8 B)... OK.
Successfully extracted to "./[testing]".





unar testing2.tar te[st]ing
testing2.tar: Tar
  te[st]ing  (8 B)... OK.
Successfully extracted to "./te[st]ing".

--------------------------------------




With the patch works all combinations of [ and ] , and solves the bugs on engrampa and file-roller

The patch only fails on console with unar foo.tar [ab] if they are two files named a and b , but works if there is one file named [ab]

Reply via email to