Article View: ca.unix
Article #91date and cut
From: dharmadam_man
Date: Wed, 04 Oct 2006 18:08
Date: Wed, 04 Oct 2006 18:08
12 lines
1367 bytes
1367 bytes
Can someone help with this. tim=`date|cut -c1-8` grep "$tim" ~/bin/oncall_pager.log -- gives the following result Wed Oct 4 00:59:12 CDT 2006 zeusp650 cycldadm tim=`date|cut -c1-10` grep "$tim" ~/bin/oncall_pager.log -- gives nothing Why is not recognizing Wed Oct 4
Technical Details
Message-ID:
<1159985315.691760.314980@i42g2000cwa.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!i42g2000cwa.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10183f,a927c498b2000392,start X-Google-Attributes: gid10183f,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!i42g2000cwa.googlegroups.com!not-for-mail From: dharmadam_man@hotmail.com Newsgroups: ca.unix Subject: date and cut Date: 4 Oct 2006 11:08:35 -0700 Organization: http://groups.google.com Lines: 13 Message-ID: <1159985315.691760.314980@i42g2000cwa.googlegroups.com> NNTP-Posting-Host: 63.72.182.34 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1159985319 12169 127.0.0.1 (4 Oct 2006 18:08:39 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 4 Oct 2006 18:08:39 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 SFB054 Complaints-To: groups-abuse@google.com Injection-Info: i42g2000cwa.googlegroups.com; posting-host=63.72.182.34; posting-account=6XOjiw0AAADjoit2iF7Ads_-DENVXzHO