Better 00-debug.sh
authorHarvie <tomas@mudrunka.cz>
Mon, 21 Feb 2011 02:08:30 +0000 (03:08 +0100)
committerHarvie <tomas@mudrunka.cz>
Mon, 21 Feb 2011 02:08:30 +0000 (03:08 +0100)
purple/answerscripts.d/00-debug.sh

index 5509b65..de7c549 100755 (executable)
@@ -1,4 +1,7 @@
 #!/bin/sh
 #Debug
-echo "<$ANSW_PROTOCOL/$ANSW_FROM> $ANSW_MSG" >&2;
-echo "($ANSW_STATUS: $ANSW_STATUS_MSG)" >&2;
+(
+echo "DATE: $(date)";
+env | grep '^ANSW_';
+echo =============================================
+) >&2;
This page took 0.116788 seconds and 4 git commands to generate.