[Surfraw-commits] [surfraw] 01/01: Use awk instead of sed for listing elvi.

Kyle Isom kyle-guest at moszumanska.debian.org
Mon Sep 14 04:53:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

kyle-guest pushed a commit to branch kyle/awk-elvi-list
in repository surfraw.

commit c6a68f6f3d5c93cce44faf3680bd1e5610547456
Author: Kyle Isom <coder at kyleisom.net>
Date:   Sun Sep 13 20:42:43 2015 -0700

    Use awk instead of sed for listing elvi.
    
    The awk syntax for doing this is more portable across different
    implementations of awk than the equivalent sed expression.
    
    Tested on OS X 10.10.5:
    $ awk --version
    GNU Awk 4.1.3, API: 1.1
    ...
    $ mawk -W version
    mawk 1.3.4 20141027
    
    Tested on Debian GNU/Linux 8.2 (jessie):
    $ gawk --version
    GNU Awk 4.1.1, API: 1.1 (GNU MPFR 3.1.2-p3, GNU MP 6.0.0)
    $ mawk -W version
    mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan
    $ original-awk --version
    awk version 20121220
    
    Tested on OpenBSD 5.7 GENERIC.MP#3 i386:
    $ awk -V
    awk version 20110810
---
 ChangeLog | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index a0cacce..f5bd63a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-09-13  Kyle Isom <kyle at imap.cc>
+
+	* use awk instead of sed for listing elvi
+
+          This provides better cross-platform behaviour.
+
 2015-08-23  Jason Ryan <jasonwryan at gmail.com>
 
 	* new elvi: searx

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/surfraw/surfraw.git



More information about the Surfraw-commits mailing list