X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=Tasks.page;h=7ca263d5b08cf9901e8630af5bac2d3bb149493d;hb=7799a762ca2dfbd022f7f8425fc207c8211e3ef7;hp=20f5e0f776bdb04b011b1451a6e8f4a6cf49c6e8;hpb=09f3ddead92e8716eabbe3e4dccd415c5a3472b0;p=busy diff --git a/Tasks.page b/Tasks.page index 20f5e0f..7ca263d 100644 --- a/Tasks.page +++ b/Tasks.page @@ -1,6 +1,6 @@ #!/bin/zsh -info="$(sed -rn 's:(^|.*&)i=([0-9]{10}_[0-9]{3}).*|.*:\2:;s:&.*::' <<<"${QUERY_STRING}")" +info="$(sed -r 's:(^|.*&)i=([0-9]{10}_[0-9]{3}).*|.*:\2:;s:&.*::' <<<"${QUERY_STRING}")" edit="$(sed -r 's:(^|.*&)e=([0-9]{10}_[0-9]{3}).*|.*:\2:;s:&.*::' <<<"${QUERY_STRING}")" search="$(sed -r 's:(^|.*&)s=(.*)|.*:\2:;s:&.*::;s:\+: :g;s:%:\\x:g' <<<"${QUERY_STRING}")" search="$(echo -e "${search}" |sed -rn '1{s:\t: :g;s:\r::g;s:\\:\\\\:g;p}')" @@ -28,7 +28,34 @@ if [ -n "$search" ]; then fi echo '
Status + $taskstatus |
+ Section + $section |
+ Attendant + $attendant |
+