# module : # joins lines ending with comma # # original location : # /usr/home/fplod/src/superbib_ws/data/joins.awk sur aedon.locean-ipsl.upmc.fr # # update : # $Id$ # fplod 2008-03-12T09:00:38Z aedon.locean-ipsl.upmc.fr (Darwin) # creation thanks to http://www.unix.com/shell-programming-scripting/19601-shell-script-join-line-line-follows.html # see also http://forum.macbidouille.com/index.php?showtopic=128499 # { if (index($0,",")==length($0) ) { #sub(/,/,"",$0) printf("%s", $0 ) } else { print $0 }}