Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham autolearn_force=no version=3.4.1
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=buckeyemailosu.onmicrosoft.com; s=selector1-buckeyemail-osu-edu;
 h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version;
 bh=bEuH0ZfC2DJ7DBkRhC9P8QWeAmm+wQ89a3ZXcy3G/L0=;
 b=p90zvaawz1HRr3Xgtz1ldhO4PV7vRUfNFJ+uop3pf9eaeGRdCJO/Hu/I9CiKldfEveHr+LY3AjJuiHwqb1dCGDfKssprtXR3ZVz7MTCL82OHtFHuHgdZjWIabmN3pHlbj9JvbCvrW14DlhqjtsO8D5DCaToUrsj2W5W+REvWMu8=
From: "Moore, Brandon A." <moore.3071@buckeyemail.osu.edu>
To: "Nikolay Aleksandrovich Pavlov (ZyX)" <kp-pav@yandex.ru>,
	"zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: Bug report: `> filename` doesn't exit
Thread-Topic: Bug report: `> filename` doesn't exit
Thread-Index: AQHRox6rwVup8SsLcUuycTDrEixJ2p+i/l2AgAAAId8=
Date: Sat, 30 Apr 2016 20:54:39 +0000
Message-ID: <BN3PR0101MB0945263AE8DE6B7AABAE11BBD9670@BN3PR0101MB0945.prod.exchangelabs.com>
References: <BN3PR0101MB09453FC0E3EA018BB480124AD9670@BN3PR0101MB0945.prod.exchangelabs.com>,<1641191462049589@web7h.yandex.ru>
In-Reply-To: <1641191462049589@web7h.yandex.ru>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: yandex.ru; dkim=none (message not signed)
 header.d=none;yandex.ru; dmarc=none action=none
 header.from=buckeyemail.osu.edu;
x-originating-ip: [2602:306:b843:96c0::40]
x-ms-office365-filtering-correlation-id: e69c1d2f-1276-4643-ea2e-08d37139a561
x-microsoft-exchange-diagnostics: 1;BN3PR0101MB0948;5:MErhPAr/TCAYB7ryUWIh6AA5dT3i9WQIFoRYHT5MA+rEp89o42FwAONTZNoLfHT3INjmEIZpLfdHAoJ64g7hq8xnrF9cE7yAihx36OtoNLhRwXXg9jHjyUUNQRrX5Zd7G+F/SYu4SZBLNXLclDQbKQ==;24:qavT8ZXIRUCpNcxIYDxoA/eu4XRsFDuDE/RKT0h13HGptNTUWSFyuE5He1/7CB6C4JFeQULCZTcDpyd9adLJsmzMc8mNu/vbQW5GGNsOP1s=;7:kRaSQg1Y0X9JX8rMNgvpVQwlOWJzOqemhXr5zKckqnwwjhA+HXMtMrpOUTj1tW5e6a1aB3hRKbGUnF6Aw4MSceTj39/UewavyEiTExck08kUz3c5n3sxQPlFyoDFzUIb0Pt0dytSAiMETMz467X18RuIoP9skGdC8nF165hyEbXlUYkECRGOdyEnJEm6cyQy;20:QAZN/6OdyeBavc0+w0HuKty1uVpp1JoSH9avm6JYAYpjMtf/qC5WbCkWOldE2dQvVAK8rn61lfuR8LaYSD512cEgbJZ9ZL60JvYAciY8JNXb7sav34VxAemIcgKK1DDcFgDAvyYxu3JmKVdO7ms2iiVUpxt1OisnQo1rykFMsHE=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0101MB0948;
x-microsoft-antispam-prvs: <BN3PR0101MB09487FF67614547BAF124128D9670@BN3PR0101MB0948.prod.exchangelabs.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(9101521072)(2401047)(8121501046)(5005006)(3002001)(10201501046);SRVR:BN3PR0101MB0948;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0101MB0948;
x-forefront-prvs: 0928072091
x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(52044002)(377454003)(87936001)(50986999)(76176999)(54356999)(2900100001)(86362001)(9686002)(10400500002)(4477795004)(5003600100002)(81166005)(19580395003)(2501003)(92566002)(2950100001)(33656002)(19580405001)(77096005)(5002640100001)(1220700001)(74316001)(3660700001)(5001770100001)(5004730100002)(88552002)(5008740100001)(6116002)(102836003)(1096002)(586003)(107886002)(11100500001)(2906002)(106116001)(122556002)(3280700002)(189998001)(81973001)(3826002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3PR0101MB0948;H:BN3PR0101MB0945.prod.exchangelabs.com;FPR:;SPF:None;MLV:sfv;LANG:en;
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: buckeyemail.osu.edu
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2016 20:54:39.0010
 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: eb095636-1052-4895-952b-1ff9df1d1121
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0101MB0948
X-Seq: zsh-workers 38377

my apologies, I'm used to prepending $ to indicate the user as I usually ru=
n bash. The command is simply `> file`

Brandon Moore

President
OpenSource Club
2016-2017

________________________________________
From: Nikolay Aleksandrovich Pavlov (ZyX) <kp-pav@yandex.ru>
Sent: Saturday, April 30, 2016 4:53:09 PM
To: Moore, Brandon A.; zsh-workers@zsh.org
Subject: Re: Bug report: `> filename` doesn't exit

30.04.2016, 23:50, "Moore, Brandon A." <moore.3071@buckeyemail.osu.edu>:
> I am uncertain if the mailling list is the correct spot for a bug report.=
 Feel free to notify me if it is not, but note that I am not on the mailing=
 list.
>
> Bug description:
>
> A user noted on 'oh-my-zsh's Github that the shorthand `> filename` will =
create a file by the given filename (or empty said file if it already exist=
s) as it does in most shells, but it does not exit. This leads to the user =
needing to terminate said command with c-C or c-D. This is atypical compare=
d to other shells that will execute this command and go to the next line.
>
> Reproducing the bug:
>
> run `$ > file`
>
> p.s. please note that I personally do not use or suggest using this as a =
shortcut for the touch command, and am simply passing on this bug on behalf=
 of the user who reported it.
>
> Sincerely,
>
> Brandon Moore
>
> President
>
> OpenSource Club
>
> 2016-2017

Unable to reproduce. Running `$ > file` creates `file` and fails with =93zs=
h: command not found: $=94. Zsh version 5.2.

