[BLFS Trac] #2315: Dash-0.5.3

BLFS Trac trac at linuxfromscratch.org
Fri Mar 16 22:13:54 PDT 2007


#2315: Dash-0.5.3
-------------------------+--------------------------------------------------
 Reporter:  Ag.Hatzim    |       Owner:  blfs-book at linuxfromscratch.org
     Type:  enhancement  |      Status:  new                           
 Priority:  normal       |   Milestone:  6.3                           
Component:  BOOK         |     Version:  SVN                           
 Severity:  normal       |    Keywords:  dash                          
-------------------------+--------------------------------------------------
 This is a ticket to record the recent activity (1) around Dash.

 Dash was included in the book (revision 6667) with the intention to
 replace Ash, which is no longer under development ( this will be a
 separate ticket).

 Dash, which stands for 'Debian's Ash', is maintained by Herbert Xu from
 Debian, is a standard POSIX shell. It can be used for debugging standard
 POSIX syntax/commands or as a default shell for small systems.

 Instructions.

 We placed the binary (--bindir=/bin) into the root filesystem.
 For FHS compliance we used (--mandir=/usr/share/man).
 We used LC_ALL=C make, for the different behavior of sort command (which
 is being used during the build), in a  locale other than the standard C
 locale.
 Example.

 {{{
 echo -e ".\n:" |LC_ALL=el_GR.UTF-8 sort
 :
 .
 echo -e ".\n:" |LC_ALL=C sort
 .
 :

 Binary behavior:
 Result without the fix.

 $ : ${FOO=foo}
 dash: :: not found

 Expected result, if FOO wasn't set
 $ echo $FOO
 foo
 }}}
 See (2) for more information.

 Dan submitted a patch about the issue upstream.
 Note:
 There will a new release, with this fix and all the patches from the
 debian unstable.

 Until then, a patch is pending to be applied in the book.
 http://www.linuxfromscratch.org/~dnicholson/patches/dash-0.5.3-fixes-1.patch

 1. http://linuxfromscratch.org/pipermail/blfs-dev/2007-March/016831.html

 2.http://linuxfromscratch.org/pipermail/alfs-
 discuss/2007-February/009144.html

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2315>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list