Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/get-assignment2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index 3dbd386..e3299f6 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -218,7 +218,7 @@ next_building=$(
sed '
1d
y/\t/ /
- s/^\(\S\+ \)\{4\}//
+ s/^.* \(\S\+\( \S\+\)\{3\}\)$/\1/
'
)
if [ -n "${next_building}" ]; then