Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39893
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news1.tnib.de!feed.news.tnib.de!news.tnib.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; '(at': 0.03; 'explicitly': 0.04; 'subject:Windows': 0.09; 'python': 0.09; 'git': 0.09; 'commit': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'newlines': 0.16; 'optionally': 0.16; 'wrote:': 0.17; 'platforms': 0.18; 'windows': 0.19; 'feb': 0.19; 'file.': 0.20; 'work,': 0.22; 'installed': 0.23; 'least': 0.25; 'header:In- Reply-To:1': 0.25; 'am,': 0.27; 'dos': 0.27; 'strongly': 0.27; 'message-id:@mail.gmail.com': 0.27; 'chris': 0.28; 'run': 0.28; 'convert': 0.29; '(and': 0.32; 'to:addr:python-list': 0.33; 'recommended': 0.33; 'received:google.com': 0.34; 'received:209.85.220': 0.35; 'subject:?': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'option': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'your': 0.60; 'save': 0.61; '26,': 0.65; '"just': 0.84; '2013': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=R5fsJ0uiRd7zlOhN6ZcrKT0SniWWZhQ71zLkVhjx21A=; b=WXH0xvAdyBrMi8kDpeOWXF26c9rpstK6DOkW/QhvsMzJWvmCbFvbuEL9qxGZICLUhg A+ff7zuTTXdF+ldYZGrG+fS6pNhQ3WVqFbi9PXW8epTrBmynTSUrt4PSYVnk1gWBgacd qqkH5/v4qjCclPopiLq6HamwHDMqWvm3dK5Y8aDvf18JHRIzfVLo0udPwlyrCTe7UlZX +GIiOwpquSudpWnvo9ArSAqQGNun1DM2YcKgvVsaVkmcSGOLuvHVD3oU02r1tW+03QN7 YP+6A+9i5om4Vo6a/dETGfEAmFHgPRJyXPcrunZC3TWjTH3Hh1coOEeCInQL7InDYrJH 8x6Q== |
| MIME-Version | 1.0 |
| X-Received | by 10.52.67.164 with SMTP id o4mr8531992vdt.42.1361800468638; Mon, 25 Feb 2013 05:54:28 -0800 (PST) |
| In-Reply-To | <512B6715.2010401@gonnerman.org> |
| 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> <512B6715.2010401@gonnerman.org> |
| Date | Tue, 26 Feb 2013 00:54:28 +1100 |
| Subject | Re: Shebang line on Windows? |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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.2506.1361800471.2939.python-list@python.org> (permalink) |
| Lines | 20 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1361800471 news.xs4all.nl 6957 [2001:888:2000:d::a6]:53029 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:39893 |
Show key headers only | View raw
On Tue, Feb 26, 2013 at 12:28 AM, Chris Gonnerman <chris@gonnerman.org> wrote: > On 02/25/2013 06:35 AM, Sells, Fred wrote: > >> When moving from windows to unix you need to run "dos2unix" on any >> programs that use shebang (at least with python 2.6) that is installed on >> some platforms but must be installed on others like CentOs but it is in >> their repository. > > Or edit it in Vim and do > > :se ff=unix > > and then save it. Or manage your files in git and set the core.autocrlf option to always commit with Unix newlines (and you can optionally check files out with DOS newlines, if you wish). Strongly recommended for cross-platform work, as it "just happens" - no need to explicitly convert the file. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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