PageRenderTime 27ms CodeModel.GetById 24ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/packages/xforms/scripts/doc2p

https://github.com/slibre/freepascal
C Shell | 11 lines | 3 code | 5 blank | 3 comment | 0 complexity | 1282179d3d1b39e14d11f2a0cc0ace0d MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
 1#!/bin/csh
 2# Simple script to do some VERY basic c->pascal conversions.
 3# 
 4foreach f ( $1 )
 5sed s/\\\"/\\\'/g <$f | sed s/\\\/\\\*/\{/g |sed s/\\\*\\\//\}/g |\
 6sed s/\ =\ /\ :=\ /g | sed s/-\>/\\^\\\./g >`basename $f .c`.pp
 7
 8
 9
10
11