This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/library/mpi/examples/mk_gmiconf.awk
Vitor Santos Costa 5418f55d74 fix pl-tai
2011-03-09 13:05:03 +00:00

20 lines
332 B
Awk
Executable File

#!/bin/awk
# mk_gmiconf.awk
#
# This file was originally created on 3/7/2003
# by Stasinos Konstantopoulos konstant@let.rug.nl
# as part of the YAP Prolog distribution.
#
# This file is in the Public Domain.
! /^$/ {
if( $0 in BUFF ) {
BUFF[$0] = BUFF[$0] + 2;
}
else {
BUFF[$0] = 2;
}
print $0 " " BUFF[$0];
}