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


Groups > comp.lang.python > #39923

Re: Shebang line on Windows?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <davea@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'that?': 0.05; 'character,': 0.07; 'newline': 0.07; 'subject:Windows': 0.09; 'backslash': 0.09; 'backwards': 0.09; 'inherited': 0.09; 'spelled': 0.09; '(like': 0.15; 'publicized,': 0.16; 'slash': 0.16; 'wrote:': 0.17; 'element': 0.17; 'typing': 0.17; 'windows': 0.19; 'versions': 0.20; 'split': 0.23; 'idea': 0.24; 'linux': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'supported': 0.26; 'instead.': 0.27; 'talked': 0.29; 'character': 0.29; 'up.': 0.31; 'generally': 0.32; 'switch': 0.32; 'could': 0.32; 'to:addr:python-list': 0.33; 'version': 0.34; 'doing': 0.35; 'pm,': 0.35; 'subject:?': 0.35; 'next': 0.35; 'michael': 0.36; 'but': 0.36; 'supporting': 0.37; 'being': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'first': 0.61; 'time,': 0.62; 'reached': 0.65; 'forward': 0.66; 'received:74.208': 0.71; 'attention': 0.75; 'received:74.208.4.194': 0.84; 'grew': 0.91
Date Mon, 25 Feb 2013 21:23:58 -0500
From Dave Angel <davea@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
MIME-Version 1.0
To python-list@python.org
Subject Re: Shebang line on Windows?
References <kg8cm0$flo$1@news.albasani.net> <CAKJDb-NW2ut0=6n_TD3VC=5pR5rc+kOfHANtjVxKB6EtFwtbNw@mail.gmail.com> <mailman.2294.1361558483.2939.python-list@python.org> <b94bb7c4-14c2-4783-b13d-8a77e8dd6f32@r8g2000vbj.googlegroups.com> <DCD75728F460F14586086EA606E8308282821A1D@ACEVXCHMBX1001.ADVENTISTCORP.NET> <512B63BC.6090600@davea.name> <512B9CF4.3070604@gmail.com> <mailman.2512.1361814005.2939.python-list@python.org> <512c0749$0$29998$c3e8da3$5496439d@news.astraweb.com> <512C1908.5050507@gmail.com>
In-Reply-To <512C1908.5050507@gmail.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:Fc+pXHVMl+WX8OaZuBFd8LInaxyq2CNDuHbFDSpmGRN XW4fqlCUx8HLNKC7TwnH7aO7Z6BdsSHzyGoLuFaomNtqkSBwQo PtRWTzYcMnmY2+C25uDJsW/G5i/ULCjjfHEIi8K+7Pcn5Z1OmF iIcdRlyjOeOBX8osLAk9L05iCzyceBmpalhm6zg8NKiQPCtplC SuYmPWAUj4HGDT4yyvMPH0fyTH56DIfRZ4XVq53nFe/tF75LEM 3w5GWrCegpL/Uw6JCy0HHnlGAwpUMqEcBnuUyj0bSZp/1zLyMr 9Q9dd3g9QvZtgTZozDXr7GzPyFYTQkpK4+dm2BWIHHmCKUDzg= =
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2528.1361845466.2939.python-list@python.org> (permalink)
Lines 34
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1361845466 news.xs4all.nl 6853 [2001:888:2000:d::a6]:54253
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:39923

Show key headers only | View raw


On 02/25/2013 09:08 PM, Michael Torrie wrote:
>   <snip>
> This is a reminder to me how much we Linux users look at Windows as a
> quaint anomaly with it's apparently backwards ways of doing things (like
> backslash directory separators, like CP/M did),

Actually the reason MSDOS used backslash was because it had already used 
the forward slash for a switch-character.  Then for version 2, with hard 
disks being supported for the first time, they used the backslash 
instead.  At the time I talked them into supporting a "switchchar" call 
to change to using the dash for switch character, and slash for 
subdirectories.

But the idea was never publicized, so it never caught on.  And future 
versions of utilities generally paid no attention to the value of 
switchchar.

By the time Windows split off from MSDOS (NT 3.1), the support in the OS 
for both slash and backslash was well established.  But the utilities 
never grew up.

Yes, using the slash as a switch-character was inherited from CP/M, 
through QDOS, then MSDOS.


On some of the old teletypes, if the data was coming in fast enough, you 
could see the first character of the next line printed before the typing 
element reached the left margin.  So newline was then spelled CR/LF/NULL 
  or even  CR/LF/NULL/NULL

Buffering?  What's that?

-- 
DaveA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Shebang line on Windows? Walter Hurry <walterhurry@lavabit.com> - 2013-02-22 18:16 +0000
  Re: Shebang line on Windows? Dave Angel <davea@davea.name> - 2013-02-22 13:40 -0500
  Re: Shebang line on Windows? Zachary Ware <zachary.ware+pylist@gmail.com> - 2013-02-22 12:40 -0600
    Re: Shebang line on Windows? James Harris <james.harris.1@gmail.com> - 2013-02-22 14:53 -0800
      Re: Shebang line on Windows? MRAB <python@mrabarnett.plus.com> - 2013-02-22 23:21 +0000
      RE: Shebang line on Windows? "Sells, Fred" <fred.sells@adventistcare.org> - 2013-02-25 12:35 +0000
      Re: Shebang line on Windows? Dave Angel <davea@davea.name> - 2013-02-25 08:14 -0500
      Re: Shebang line on Windows? Chris Gonnerman <chris@gonnerman.org> - 2013-02-25 07:28 -0600
      Re: Shebang line on Windows? Chris Angelico <rosuav@gmail.com> - 2013-02-26 00:54 +1100
      Re: Shebang line on Windows? Michael Torrie <torriem@gmail.com> - 2013-02-25 10:18 -0700
        Re: Shebang line on Windows? Anssi Saari <as@sci.fi> - 2013-02-26 16:30 +0200
      Re: Shebang line on Windows? "D'Arcy J.M. Cain" <darcy@druid.net> - 2013-02-25 12:29 -0500
        Re: Shebang line on Windows? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-26 00:52 +0000
          Re: Shebang line on Windows? Michael Torrie <torriem@gmail.com> - 2013-02-25 19:08 -0700
          Re: Shebang line on Windows? Dave Angel <davea@davea.name> - 2013-02-25 21:23 -0500
          Re: Shebang line on Windows? MRAB <python@mrabarnett.plus.com> - 2013-02-26 03:08 +0000
          Re: Shebang line on Windows? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-02-25 22:44 -0500
      Re: Shebang line on Windows? David Robinow <drobinow@gmail.com> - 2013-02-25 13:19 -0500
      Re: Shebang line on Windows? Michael Torrie <torriem@gmail.com> - 2013-02-25 11:29 -0700
      Re: Shebang line on Windows? Michael Torrie <torriem@gmail.com> - 2013-02-25 11:33 -0700

csiph-web