[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how execute a script



On Tue, Nov 17, 2015 at 1:25 PM, Elimar Riesebieter <riesebie@lxtec.de> wrote:
> * shawn wilson <ag4ve.us@gmail.com> [2015-11-17 13:08 -0500]:
>
>> On Tue, Nov 17, 2015 at 1:02 PM, Chris Bannister
>> <cbannister@slingshot.co.nz> wrote:
>> > On Tue, Nov 17, 2015 at 09:31:53AM -0500, shawn wilson wrote:
>
> [...]
>
>> >> communicated (via its extension). If you create a pdf, it is bad to not
>> >> have the pdf extension - you've lost data.
>> >
>> > How have you lost data?
>> >
>>
>> You loose what the file type (data) should be if you save a file w/o
>> an extension. Again, this is fine for an installed program (no one
>> cares as long as it works) but not so good for data that is processed
>> by another program or a script I want to edit.
>
> PDF files are recognized by their header not their extension. Create
> a test.pdf. Copy it to test and test.blo. They will always be
> recognized as pdf documents from evince and alike.
>

Quoting myself (sorry):
> Magic shouldn't be used when a file type is known


Reply to: