escape backslash

This commit is contained in:
Brian Seymour 2021-01-21 13:47:25 -06:00
parent f041385f34
commit 8de614ee94
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
cd /tmp/$2 cd /tmp/$2
cp code.code interim.java cp code.code interim.java
name=$(grep -Po "(?<=\n|\A)\s*(public\s+)?(class|interface)\s+\K([^\/\\\n\s{]+)" interim.java) name=$(grep -Po "(?<=\n|\A)\s*(public\s+)?(class|interface)\s+\K([^\/\\\\\n\s{]+)" interim.java)
mv interim.java $name.java mv interim.java $name.java
runuser runner$1 -c "\ runuser runner$1 -c "\