COSC_4P82_Assignment_1/lib/beagle-3.0.3/_configs.sed

9 lines
465 B
Sed
Raw Normal View History

2024-02-13 21:21:51 -05:00
s/#undef *\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]\)/#undef BEAGLE_\1/
s/#undef *\([abcdefghijklmnopqrstuvwxyz]\)/#undef _beagle_\1/
s/#define *\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\)\(.*\)/#ifndef BEAGLE_\1 \
#define BEAGLE_\1 \2 \
#endif/
s/#define *\([abcdefghijklmnopqrstuvwxyz][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_]*\)\(.*\)/#ifndef _beagle_\1 \
#define _beagle_\1 \2 \
#endif/