Created
August 24, 2016 23:03
-
-
Save quickgrid/bc36ab1851d41519a671203ff1520d27 to your computer and use it in GitHub Desktop.
sample bash script file to run the flex code.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
flex -t assignment2.l > test.c | |
g++ -c -o test.o test.c | |
g++ -o samp test.o -ll | |
./samp | |
#./samp < in.txt > out.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment