You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2021. It is now read-only.
vagrant@debian9:~/test-files$ dd if=/dev/urandom of=test\$file bs=1M count=1
1+0 Datensätze ein
1+0 Datensätze aus
1048576 Bytes (1,0 MB, 1,0 MiB) kopiert, 0,00585626 s, 179 MB/s
vagrant@debian9:~/test-files$ ls -l
insgesamt 1024
-rw-r--r-- 1 vagrant vagrant 1048576 Jan 19 14:42 test$file
vagrant@debian9:~/test-files$ mkepmlist .
f 644 vagrant vagrant /test\$file ./test\$file
vagrant@debian9:~/test-files$ echo "# Product information
> %product test
> %copyright n/a
> %vendor n/a
> %license ./COPYING
> %readme ./README
> %version 0.1
> %packager n/a
> %description test
> " > test.list
vagrant@debian9:~/test-files$ mkepmlist . >> test.list
vagrant@debian9:~/test-files$ touch COPYING README
vagrant@debian9:~/test-files$ epm test
epm: Variable "file" undefined.
epm: Variable "file" undefined.
epm: Expected character after backslash.
epm: Expected destination after group: f 644 vagrant vagrant /test\ ./test\
epm: Error - no files for installation in list file!
vagrant@debian9:~/test-files$ sed -i 's/\\\$/$$/g' test.list
vagrant@debian9:~/test-files$ cat test.list
# Product information
%product test
%copyright n/a
%vendor n/a
%license ./COPYING
%readme ./README
%version 0.1
%packager n/a
%description test
f 644 vagrant vagrant /test$$file ./test$$file
vagrant@debian9:~/test-files$ epm test
vagrant@debian9:~/test-files$ echo $?
0
vagrant@debian9:~/test-files$ epm --version
ESP Package Manager v4.4.1
Copyright 1999-2017 by Michael R Sweet.
EPM is free software and comes with ABSOLUTELY NO WARRANTY; for details
see the GNU General Public License in the file COPYING or at
"http://www.fsf.org/gpl.html". Report all problems to
"https://github.com/michaelrsweet/epm/issues".
Observed behaviour:
mkepmlist output escapes $ sign with \$:
f 644 vagrant vagrant /test\$file ./test\$file
Expected behaviour:
mkepmlist escapes the $ sign with $$
f 644 vagrant vagrant /test$$file ./test$$file
The text was updated successfully, but these errors were encountered:
Observed behaviour:
mkepmlist output escapes
$
sign with\$
:Expected behaviour:
mkepmlist escapes the
$
sign with$$
The text was updated successfully, but these errors were encountered: