#! /bin/sh # mkct.sh MR 20/09/98 # Step 1: Remove /*...*/ comment with rmccmt # Step 2: Replace backslash-character sequences and remove backslash-newline # combinations, with rplbs # Step 3: Remove preprocessor directives with sed # Step 4: Do lexical analysis of C code with scanc1 # Step 5: Generate calling tree from scanc1's output with dirty /mnt/3rdpr/analysistools/lexan/rmccmt | /mnt/3rdpr/analysistools/lexan/rplbs | sed 's/^[ \t]*#.*$//' | /mnt/3rdpr/analysistools/lexan/scanc1 | /mnt/3rdpr/analysistools/parse/dirty