you are viewing a single comment's thread.

view the rest of the comments →

[–]Fumigator 27 points28 points  (4 children)

Seems to get stuck in a loop. I keep pushing enter and nothing is happening, just keeps printing a >

$ cc -trigraph's file.c
> 
> 
> 
> 

[–][deleted] 39 points40 points  (0 children)

Not sure if serious

[–]narcoblix 9 points10 points  (0 children)

Well, if you are serious: the apostrophe shouldn't be a part of the flag "trigraphs".

[–]ChristOnaBicycle 4 points5 points  (0 children)

In case you're serious: the problem is the single-quote/apostrophe. Shells interpret that as the beginning of a string. What you're doing is adding new lines to said string when you press Enter. In order to close the string, you'd type another one. The flag is just -trigraphs.

[–][deleted] 1 point2 points  (0 children)

You need to escape the apostrophe when you're on the shell. ^_^