aboutsummaryrefslogtreecommitdiffstats
path: root/examples/functions/mhfold
diff options
context:
space:
mode:
Diffstat (limited to 'examples/functions/mhfold')
-rw-r--r--examples/functions/mhfold2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/functions/mhfold b/examples/functions/mhfold
index a4a5f70..3c0c743 100644
--- a/examples/functions/mhfold
+++ b/examples/functions/mhfold
@@ -7,7 +7,7 @@
mhfold()
{
- list=`folders | tail +2 | awk '{print $1}'`
+ list=`folders | awk '{if (1 < NR) print $1}'`
/bin/ls -lag ~/Mail > /tmp/fold$$
for i in $list; do
grep $i /tmp/fold$$