#!/bin/sh # vshape # define shape specification for file do echo 80 -- column width > /tmp/$$.tmp echo 48 -- indent margin maximum >> /tmp/$$.tmp echo 3 -- tab set >> /tmp/$$.tmp echo 1 -- wrap indent length >> /tmp/$$.tmp echo 14 -- comment right adjust length >> /tmp/$$.tmp echo "-- -- comment wrap string: constraint use only the first 4 characters" >> /tmp/$$.tmp # copy to preserve protection of input files cp $file /tmp/$$tmp cat /tmp/$$.tmp /tmp/$$tmp | $bin_vhdl_tools/vhdl_shape_set_style.e > $file done rm /tmp/$$.tmp rm /tmp/$$tmp