Frage

I might just be thick this morning but I cannot seem to get html2haml with the -s or --stdin option to work.

Running html2haml or html2haml -s on the command line looks like I get put into some input mode but with no way to escape but ^c. This causes an interrupt and nothing more happens.

War es hilfreich?

Lösung

You need to use Ctrl+D to send end of file so html2haml knows the input is finished, rather than Ctrl+C which interrupts the process. (These keys are actually the defaults and may vary, but are probably right for you).

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top