From 8de614ee9435e9792872ad317e9684f31c3d63f3 Mon Sep 17 00:00:00 2001 From: Brian Seymour Date: Thu, 21 Jan 2021 13:47:25 -0600 Subject: [PATCH] escape backslash --- lxc/executors/java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc/executors/java b/lxc/executors/java index 6fc09e0..1ad5cad 100755 --- a/lxc/executors/java +++ b/lxc/executors/java @@ -1,6 +1,6 @@ cd /tmp/$2 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 runuser runner$1 -c "\