← Back to team overview

torios-dev team mailing list archive

Re: [SOLVED] [Torios] Reboot Dialog Was:(Re: Plymouth Theme)

 

On 05/12/2015 02:53 PM, Nio Wiklund wrote:
> Den 2015-05-12 21:45, Israel skrev:
>> Hi guys,
>> it seems to be expected that Outlook would convert the file to DOS text.
>> Microsoft views files very differently.  In Unix-like systems the file
>> is what it is.
>> In MS it will rely on the extention to determine the file type.  I
>> wonder if renaming it to
>> torios-reboot.sh
>> would circumvent the problem?
>>
>> It probably just assumed it was a plain text file since no extention was
>> given (like README files)
>> so it 'fixed' the text file.
>>
>> I am glad we figured out the issue with a little deduction about the \r
>> being part of the MS newline character sequence.
>>
>> Good work team!
>>
>>
>> On 05/12/2015 12:43 PM, Nio Wiklund wrote:
>>> Hi Jack,
>>>
>>> So we can be rather sure that SeaMonkey is OK. Outlook was converting
>>> the file. :-)
>>>
>>> Best regards
>>> Nio
>>>
>>> ...
>
> Hi Israel,
>
> I think Outlook converts everything that looks like it could be text
> files (but I am not sure). Anyway, if you want to change the file name,
> please consider using the extension bash (not sh) for a bash script file.
>
> Best regards
> Nio
Hi Nio,
this is a very good point!
I rarely use extentions here in GNU land (with the exception of cpp/cxx
and h for programming)
I never need to put .txt or .bash etc.. since files are determined by
their binary qualities (except when related to mime type occasionally)
AFAIK.

I do use the .bash extention for my ISOmaker chroot scripts

-- 
Regards

-Israel
ToriOS Team



References