From b7edd10e2e93045d8b4ae0dd7f07eeeffe84af69 Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 4 Mar 2011 11:40:59 +0000 Subject: [PATCH] =?UTF-8?q?fix=20sed=20error(=E5=B0=91=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E4=B8=80=E8=A1=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/datafile-generate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/datafile-generate.sh b/tools/datafile-generate.sh index 3fe745f8..ea7c1395 100755 --- a/tools/datafile-generate.sh +++ b/tools/datafile-generate.sh @@ -19,7 +19,7 @@ then else find -L "${oneline%uuid.txt}" -exec du -b -s {} \; -exec ./dir_output.sh "{}" \; >$uuid.txt echo $uuid -sed -i '/uuid.txt$/d' $uuid.txt +sed -i '/uuid.txt$/,/file$/d' $uuid.txt fi echo -e \\n >> dataset.txt; done