ColinPitrat / caprice32

An emulator of the Amstrad CPC 8bit home computer range.
GNU General Public License v2.0
147 stars 32 forks source link

allow to pass filename in autocmd parameter #219

Open landru29 opened 2 years ago

landru29 commented 2 years ago

if autocmd parameter is -autocmd='@/path/to/text/file, the content of the file is injected

ColinPitrat commented 2 years ago

I'm not entirely sold to the idea. Passing a file is very useful but this can already be done with something like:

./cap32 -a `cat /tmp/myprog.bas`

Which I use regularly in conjunction with removing the speed limit to type long listings quickly.