fix sed error(少删除一行)

This commit is contained in:
wlx 2011-03-04 11:40:59 +00:00
parent d92b311395
commit b7edd10e2e
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ then
else else
find -L "${oneline%uuid.txt}" -exec du -b -s {} \; -exec ./dir_output.sh "{}" \; >$uuid.txt find -L "${oneline%uuid.txt}" -exec du -b -s {} \; -exec ./dir_output.sh "{}" \; >$uuid.txt
echo $uuid echo $uuid
sed -i '/uuid.txt$/d' $uuid.txt sed -i '/uuid.txt$/,/file$/d' $uuid.txt
fi fi
echo -e \\n >> dataset.txt; echo -e \\n >> dataset.txt;
done done