[Top][All Lists]

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

Re: basename whitespace bug

From: Alfred M. Szmidt
Subject: Re: basename whitespace bug
Date: Tue, 14 Aug 2007 21:02:37 +0200 (CEST)

   when executed with file name containing spaces, basename returns only
   first part of file name (until space).

Try quoting the string.

address@hidden:~$ basename "/home/ams/frob ni.cate"
frob ni.cate

Space is treated as a seperator of arguments on GNU and Unixoid

reply via email to

[Prev in Thread] Current Thread [Next in Thread]