Artifact d954652ab3c91317865f067da8c636f23124a0a7967ec9bc881d17df4e7618d1:
- Executable file mttroot/mtt/bin/trans/mtt_p2m — part of check-in [f7ad33ddfb] at 1998-07-27 20:31:05 on branch origin/master — Allow 2D arrays (user: gawthrop@users.sourceforge.net, size: 293) [annotate] [blame] [check-ins using]
#! /bin/sh sed 's/begin//' |\ sed 's/end//' |\ sed 's/\[\([0-9,]*\)\]/(\1)/g' |\ sed 's/:=/ = /' |\ awk '{ sub(/^[\ ]*/, "", $0) if ((match($0,"=")>0)&&(match($NF,"[\#;]")==0)){ Previous = $0 } else { print Previous $0 Previous = "" } }' sed 's/\([^\.;\#]\)$/\1\\/'