Author Topic: tar files  (Read 893 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2165
  • Hero Points: 191
  • 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.


Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5735
  • Hero Points: 458
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).