Artifact b94de50d4faa319e89f902afcd40e18e794e3f64309119b4d0203f15e622486f:
- Executable file mttroot/mtt/bin/trans/mtt_mend_lines — part of check-in [30d1a4a7a7] at 2000-12-28 09:32:04 on branch origin/master — Initial revision (user: gawthrop@users.sourceforge.net, size: 323) [annotate] [blame] [check-ins using] [more...]
#!/bin/sh # Copyright (C) 2000 by Peter J. Gawthrop # Fixes broken lines from reduce. #sed 's/[^#]\(.*\)[^;]$/\1\\/' awk '{ if ((match($1,"#")==0)&&(match($1,"global")==0)&&(match($1,"endfunction")==0)) { if(match($0,";")!=length($0)) printf("%s \\\n",$0) else print $0 } else print $0 }'