How to script automate unTAR of packages

Bruce Dubbs bruce.dubbs at
Mon Dec 28 17:50:35 PST 2009

Mikie wrote:
> Hello list,
> I have made a script file at:
> ... to unTAR my packages so I don't have to do it manually.
> When I run it I get:
> tar: /mnt/lfs/sources/zlib-1.2.3.tar.bz2\r: Cannot open: No such file or

The \r says it found return character in the file.  Did you edit it in a 
Windows text editor?

Edit the file in vim and do


   -- Bruce

More information about the lfs-support mailing list