Bash-4.2 cleanup of leftover files
[platform/upstream/bash.git] / tests / type.right
index a628231..6dbce64 100644 (file)
@@ -80,3 +80,19 @@ qux
 
 bar
 qux
+foo is a function
+foo () 
+{ 
+    rm -f a b c;
+    for f in a b c;
+    do
+        cat  >> ${f} <<-EOF
+file
+EOF
+
+    done
+    grep . a b c
+}
+a:file
+b:file
+c:file