X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=i3Zfv1OEmBX/eGCugwg35sG/74BfJApwkHFcV9PQDx2ReL1BtdGGD 3foxg57oj6E/YXm9BYizlbo2kBzXNi8KLH/a8wBbHmk682WqJ5YMk9GWpj6PnZvE opa1W5Ca6o7twUaB2v8cqzRYIBVOEfW3hLxKBxOzMYVOHFLdBvPVGk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=cHw0zXIO2ev+nUtX8w0E8Tw3ios=; b=nea8basIUrFIhQvJl9TJg68RKuVy BANREvhfIQrBaZND8O7eWSCTp4zv49DIfMZuHDqRBQil/rjYiE7DEsaoYpBoUT/G i+WKNqCEJTjJQhwxWsXIg/BbaU13ciyhTnaVKT7SbNi4Gd2nFKWmoWEw+YV2JJaj eNAkqzfdk5d55Cw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Nick Subject: Re: Question regarding grep 2,6,3 regular expression looking for lines without something in a part of a line Date: Wed, 8 Oct 2014 15:27:44 +0000 (UTC) Lines: 6 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes You need a quantifier, such as '+': grep '^"[^,"]+";' file.csv -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple