Forum OpenACS Q&A: Response to Hack wanted: dir name and text in file

Collapse
Posted by Marc Spitzer on
This is not tested but should work
#!/bin/sh

for i in *
do
    X=`cat $i/*`
    echo "$i $X"
done