aiidateam / aiida-tutorials

AiiDA tutorials web site
http://aiida-tutorials.readthedocs.org
22 stars 37 forks source link

basics: Add a helper #389

Closed HaoZeke closed 3 years ago

HaoZeke commented 3 years ago

VIM was giving me trouble since Esc was kicking me out of the terminal.

mbercx commented 3 years ago

Thanks @HaoZeke! Neat trick, I actually didn't know about EOF. 😅 I'm a little worried that this might confuse participants though.

Instead, I'm considering to make it even easier, by simply providing a tarball with all the files that can be downloaded via wget. Will do this after finishing up the advanced writing workflows modules.

HaoZeke commented 3 years ago

Actually I agree with you, wget would be best. I don't think any of the participants were writing it out by hand and the copy paste mechanisms are all error prone.

Interestingly, the cat trick works with any user defined END keyword! So:

 $ cat <<STOPME > qe.in
> blah
> blah
STOPME

Works as well ^_^