www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/09/21:03:21

From: Weiqi Gao <weiqigao AT a DOT crl DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: DJGPP gawk peculiarity
Date: Fri, 09 Jan 1998 19:52:26 -0600
Organization: Spectrum Healthcare Services
Lines: 15
Message-ID: <34B6D45A.8A0733FB@a.crl.com>
NNTP-Posting-Host: a116024.stl1.as.crl.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

One of my coworkers showed me a peculiar behavior of the DJGPP awk:

======================================================================
C:\TEMP> cat junk
123 456

C:\> awk 'length($1) < 2 {print $1}' junk
123
======================================================================

What am I missing here?

--
Weiqi Gao
weiqigao AT a DOT crl DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019