Author Topic: tar files  (Read 1707 times)


  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
tar files
« on: September 07, 2018, 07:50:39 PM »
I wondered if Slick will look in TAR files, like it does others.

#1: Yes,  I think so.
#2: The HELP file hasn't been updated to reflect what archive types Slick supports.
For example, in "Find and replace" it mentions only zip and jar.
Look in zip/word/excel files: Mentions only zip,jar,xlsx, and docx.

#3 bgm_is_zip_file() supports: zip, jar, xlsx, docx, jmod, tar, cpio, gz, Z

#4 fileman_enter() also mentions tgz, cpgz and rpm.
Also save() has: ft_regex='.zip/|.jar/|.xlsx/|.docx/|.jmod/';
Shouldn't all of these be consistent?

What I was really looking for was *.DEB support.
"tar" seems to understand this format, but I guess it isn't a tar file?
"7z" also understands it.

Ideally Slick would determine the file type by the content, not just the filename extension.
Slick already does this for syntax coloring purposes -- so at least during a search, since slick is reading the file contents anyways, it ought to do this for archive types too.


  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: tar files
« Reply #1 on: September 07, 2018, 11:33:14 PM »
Help updated.

Save hasn't been updated to special case some of the other formats yet (all to just use save-as with a reasonable directory).

No .deb support yet. Doesn't look like an easy format since its multiple compression formats wrapped into one (gzip, gzip2, lzma, xz).