Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #160661

Re: how execute a script

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: how execute a script
Date 2015-11-17 09:30 +0100
Message-ID <qvJOi-2w8-9@gated-at.bofh.it> (permalink)
References <qvkZB-3jF-7@gated-at.bofh.it> <qvkZB-3jF-5@gated-at.bofh.it> <qvxN9-33j-43@gated-at.bofh.it> <qvABk-4Q6-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Nov 16, 2015 at 10:37:28PM +0000, Lisi Reisz wrote:

[...]

> I take it those who are so against file endings are equally upset by 
> sources.list and menu.lst?

I don't know who "those who are so against file endings" are, in your mind.

To (preemptively) take myself out of this set, let me quote myself:

      I have no problems with the convention to end C source files with
    ".c" and objects with ".o" (after all, this makes writing makefiles
    easier!). But look at the ugly things Windows folks do ("Makefile.mak",
    horrors!) just because, with their slavish DOS roots, every file gotta
    have an extension).

    Conventions are good, slavery is bad. Or some such :-) 

To recap, and simplifying very much. IMHO IMHO IMHO:

  executable script, independently of "interpreter" [1]
    ending -> BAD
  shell, perl, any other (eg dynamic) library
    ending -> GOOD
  pdf, jpeg, tar.gz
    ending -> GOOD

> Though it is very annoying when they are *needed*.  Xsane usually puts them 
> in, and I used not to bother to check.  A few months ago I sent my lawyer a 
> scan of a document he needed.  An hour or two later, back came an 
> email:  "I'm so sorry, we have no software that can open that file.  The IT 
> department has been trying for an hour".  Puzzled, because I thought I had 
> sent a .pdf, and had checked that it opened fine in Evince, I looked at the 
> file - groaned - and renamed scan-foo to scan-foo.pdf.  When resent it opened 
> fine.

Software relying more on that ending than on what the user says ("believe me,
that *is* a pdf although the ending is not") is downright stupid, and you'll
find that more on Windows than on Linux (although Linux has a fair, and
increasing share of it).

I know this experience. Unless you name a file "foo.txt" stupid Word can't
open it (yeah, you can force it to, but Windows has "educated" its users
to be so helpless that they mostly wouldn't know how to). That's what I
was talking about when I mentioned "slavery".

Hope my point is clearer now.

- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlZK3NAACgkQBcgs9XrR2kYhDACbB5F2VgQKSE72bPbp//asZ0Y3
Ey8An3rxzjSaAo3fCS0/zF4CIyIBCiBZ
=Ulbs
-----END PGP SIGNATURE-----

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: how execute a script Martin Str|mberg <ams@ludd.luth.se> - 2015-11-16 07:00 +0100
  Re: how execute a script Chris Bannister <cbannister@slingshot.co.nz> - 2015-11-16 07:30 +0100
  Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-16 20:40 +0100
    Re: how execute a script Lisi Reisz <lisi.reisz@gmail.com> - 2015-11-16 23:40 +0100
      Re: how execute a script <tomas@tuxteam.de> - 2015-11-17 09:30 +0100
      Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 15:40 +0100
        Re: how execute a script Chris Bannister <cbannister@slingshot.co.nz> - 2015-11-17 19:10 +0100
          Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 19:10 +0100
            Re: how execute a script Elimar Riesebieter <riesebie@lxtec.de> - 2015-11-17 19:30 +0100
              Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 20:10 +0100
            Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-17 20:00 +0100
              Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 20:10 +0100
                Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-17 21:00 +0100
                Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 21:00 +0100
                Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 21:10 +0100
                Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 21:20 +0100
                Re: how execute a script <tomas@tuxteam.de> - 2015-11-17 22:00 +0100
                Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 22:20 +0100
                Re: how execute a script tomas@tuxteam.de - 2015-11-17 23:10 +0100
                Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 23:20 +0100
                Re: how execute a script shawn wilson <ag4ve.us@gmail.com> - 2015-11-17 23:30 +0100
                Re: how execute a script tomas@tuxteam.de - 2015-11-18 09:10 +0100
                Re: how execute a script John Hasler <jhasler@newsguy.com> - 2015-11-17 22:40 +0100
                Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-17 21:30 +0100
                Re: how execute a script Luis Felipe Tabera Alonso <taberalf@unican.es> - 2015-11-17 22:10 +0100
                Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-18 00:10 +0100
                Re: how execute a script Don Armstrong <don@debian.org> - 2015-11-18 01:10 +0100
                Re: how execute a script <tomas@tuxteam.de> - 2015-11-18 09:30 +0100
                Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-18 16:00 +0100
                Re: how execute a script <tomas@tuxteam.de> - 2015-11-18 16:20 +0100
                Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-18 16:40 +0100
              Re: how execute a script David Wright <deblis@lionunicorn.co.uk> - 2015-11-17 21:20 +0100
              Re: how execute a script <tomas@tuxteam.de> - 2015-11-17 22:00 +0100
                Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-18 00:10 +0100
                Re: how execute a script <tomas@tuxteam.de> - 2015-11-18 09:30 +0100
                Re: how execute a script Brian <ad44@cityscape.co.uk> - 2015-11-18 13:50 +0100
          Re: how execute a script <tomas@tuxteam.de> - 2015-11-17 19:20 +0100

csiph-web