Some stylistic notes
- The
head -1
syntax is obsolete in POSIX, replaced byhead -n 1
. for filename in $(ls)
is inefficient and will break on whitespace. You can use shell globbing for this instead, e.g.,for filename in *
.- A lot of the variables seem to be inconsistently quoted. I recommend running ShellCheck on it, as this can be dangerous (if you set TMPDIR to
/tmp/ dir
, I believe it will remove/tmp
anddir
)
PvE Deadlock already exists—it's called Risk of Rain 2.
The two games actually have a decently similar feel and it's no surprise that Valve eventually hired some of the RoR2 devs.