[Bug 53] New: functions script uses $*, bison's yacc uses "$@"

bugzilla at shadowfax.linuxfromscratch.org bugzilla at shadowfax.linuxfromscratch.org
Thu May 24 09:31:39 PDT 2001


           Summary: functions script uses $*, bison's yacc uses "$@"
           Product: Linux From Scratch
           Version: 3.0-pre3
          Platform: PC
        OS/Version: Linux
            Status: NEW
 Status Whiteboard:
          Severity: normal
          Priority: P3
         Component: Book
        AssignedTo: lfs-book at linuxfromscratch.org
        ReportedBy: gerard at linuxfromscratch.org

bison's yacc creation uses "$@" to pass all parameters passed to yacc to bison.

the functions script, in the loadproc function uses $* to start a daemon.

Perhaps we should change the functions script to use "$@" (including those
quotation marks) as well? I can't quite remember what the difference is between
$* and "$@" (it's in cvs log, but cvs is down right now). It's in bash man page
somewhere too, so I'll find it at some point, but if somebody can enlighten me
that would be greatly appreciated ;)

More information about the lfs-book mailing list