Package: file
Version: 1:5.25-2
Severity: wishlist

file doesn't support detecting swp files from nano but it does support
detecting swp files from vim. swp files are the temporary files that
editors write out while a user is editing a file. It appears other
editors than vim and nano support these files so the support should be
generic instead of specific to vim. Samples from vim and nano attached.

http://fileinfo.com/extension/swp
http://vimdoc.sourceforge.net/htmldoc/recover.html#swap-file
https://www.quora.com/What-is-a-Kate-swap-file?share=1

pabs@chianamo ~ $ file .bar.swp 
.bar.swp: Vim swap file, version 7.4
pabs@chianamo ~ $ file .foo.swp 
.foo.swp: data

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (860, 'testing-proposed-updates'), (850, 
'buildd-testing-proposed-updates'), (800, 'unstable'), (790, 
'buildd-unstable'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages file depends on:
ii  libc6      2.19-22
ii  libmagic1  1:5.25-2
ii  zlib1g     1:1.2.8.dfsg-2+b1

file recommends no packages.

file suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


Attachment: .foo.swp
Description: Binary data

Attachment: .bar.swp
Description: Binary data

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to