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 5509b65a9efc0a5ce7bb779b58972ccae7383f9c..de7c5491947a308e3c00fc28d89fcdef2c4f88ff 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.385907 seconds and 4 git commands to generate.