[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FDclone-users:00272] a problem with recursive copy



 前から気になっていて報告を怠っていたものをひとつ。

	% cd /tmp
	% mkdir -p foo/bar; touch foo/bar/baz

と簡単なディレクトリ構造を用意し、

	% fd foo

で fd を起動します。

 そして bar にカーソルを合わせて c を押し、「/tmp/」と入力します。
「/tmp」だと問題ないのですが、「/tmp/」だと、コピー中に

	bar/baz: No such file or directory

とエラーが出て処理が中断してしまいます。

 末尾に / を付けるのはまったく正しい記法だし、既存のディレクトリを
補完したときも末尾に / が付くので、これは対処の必要があると思います。

-- 
                     /
                    /__  __            Akinori.org / MUSHA.org
                   / )  )  ) )  /     FreeBSD.org / Ruby-lang.org
Akinori MUSHA aka / (_ /  ( (__(  @ iDaemons.org / and.or.jp

"It seems to me as we make our own few circles 'round the sun
          We get it backwards and our seven years go by like one"