Last change
on this file since 140 was
48,
checked in by pinsard, 16 years ago
|
improvements of headers, add property svn:keywords, typo
|
-
Property svn:keywords set to
Id
|
File size:
509 bytes
|
Line | |
---|
1 | # module : |
---|
2 | # joins lines ending with comma |
---|
3 | # |
---|
4 | # original location : |
---|
5 | # /usr/home/fplod/src/superbib_ws/data/joins.awk sur aedon.locean-ipsl.upmc.fr |
---|
6 | # |
---|
7 | # update : |
---|
8 | # $Id$ |
---|
9 | # fplod 2008-03-12T09:00:38Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
10 | # creation thanks to http://www.unix.com/shell-programming-scripting/19601-shell-script-join-line-line-follows.html |
---|
11 | # see also http://forum.macbidouille.com/index.php?showtopic=128499 |
---|
12 | # |
---|
13 | { |
---|
14 | if (index($0,",")==length($0) ) |
---|
15 | { |
---|
16 | #sub(/,/,"",$0) |
---|
17 | printf("%s", $0 ) |
---|
18 | } |
---|
19 | else { |
---|
20 | print $0 |
---|
21 | }} |
---|
Note: See
TracBrowser
for help on using the repository browser.