Weird / FS behavior

Brandon S. Allbery KF8NH allbery at
Fri May 5 02:31:03 UTC 2006

On May 4, 2006, at 10:30 , Christian Lopez de Castilla Wagner wrote:

> root at hellion# cat S56/vcs/20060504/*.vcs >> S56/vcs/20060504/cal.vcs
> /: write failed, filesystem is full
> cat: stdout: No space left on device

The shell expands the * after creating the output file for the  
redirection, so one of the files being concatenated into cal.vcs is  
cal.vcs.  (This has always been true for all shells, in my experience.)

brandon s. allbery     [linux,solaris,freebsd,perl]       
allbery at
system administrator  [openafs,heimdal,too many hats]   
allbery at
electrical and computer engineering, carnegie mellon university       

More information about the freebsd-stable mailing list