update shell script examples to GSA data version 1
diff --git a/examples/adaptor-template-get-doc-contents.sh b/examples/adaptor-template-get-doc-contents.sh
index 6f230fc..5c791d8 100755
--- a/examples/adaptor-template-get-doc-contents.sh
+++ b/examples/adaptor-template-get-doc-contents.sh
@@ -3,14 +3,17 @@
 #
 # Shell equivalent of 
 # com.google.enterprise.adaptor.examples.AdaptorTemplate.getDocContent
-#
-# TODO: Update to contemporary format.
 
-if test "1001" = "$1"; then
-  echo "This is the body of document 1001 from shell script"
-elif test "1002" = "$1"; then
-  echo "This is the body of document 1002 from shell script"
+echo -e "GSA Adaptor Data Version 1 [\n]"
+if test "5555" = "$1"; then
+  echo "id=$1"
+  echo content
+  echo "This is the body of document 5555 from shell script"
+elif test "9999" = "$1"; then
+  echo "id=$1"
+  echo content
+  echo "This is the body of document 9999 from shell script"
 else
-  echo no document with id $1 found >&2
-  exit 2
+  echo "id=$1"
+  echo not-found
 fi
diff --git a/examples/adaptor-template-get-doc-ids.sh b/examples/adaptor-template-get-doc-ids.sh
index ba09e52..9b0ee43 100755
--- a/examples/adaptor-template-get-doc-ids.sh
+++ b/examples/adaptor-template-get-doc-ids.sh
@@ -3,8 +3,7 @@
 #
 # Shell equivalent of
 # com.google.enterprise.adaptor.examples.AdaptorTemplate.getDocIds
-#
-# TODO: Update to contemporary format.
 
-echo "1001"
-echo "1002"
+echo -e "GSA Adaptor Data Version 1 [\n]"
+echo "id=5555"
+echo "id=9999"
diff --git a/examples/filesystem-get-doc-contents.sh b/examples/filesystem-get-doc-contents.sh
index 710c9d0..557c5f0 100755
--- a/examples/filesystem-get-doc-contents.sh
+++ b/examples/filesystem-get-doc-contents.sh
@@ -1,6 +1,16 @@
 #!/bin/sh
-# Example gives bytes of file on local unix filesystem.
-#
-# TODO: Update to contemporary format.
+# Example gives bytes of file with particular id.
 
-cat "$1"
+dir="/tmp/foo-bar/"
+id="$1"
+fn="$dir/$id"
+
+echo -e "GSA Adaptor Data Version 1 [\n]"
+echo "id=$id"
+
+if test -f "$fn" && test -r "$fn"; then
+  echo "content"
+  cat "$fn"
+else
+  echo not-found
+fi
diff --git a/examples/filesystem-get-doc-ids.sh b/examples/filesystem-get-doc-ids.sh
index 6b81cc6..45b699a 100755
--- a/examples/filesystem-get-doc-ids.sh
+++ b/examples/filesystem-get-doc-ids.sh
@@ -1,6 +1,10 @@
 #!/bin/sh
-# Example gives list of document ids on local unix filesystem.
-#
-# TODO: Update to contemporary format.
+# Example gives list of document ids in a directory.
 
-find /usr/local/mqt -type f
+dir="/tmp/foo-bar/"
+cd "$dir"
+
+echo -e "GSA Adaptor Data Version 1 [\n]"
+echo id-list
+# Note: \n delimiter requires no file names contain it.
+find . -type f