Package: dbconfig-common
Version: 1.8.47+nmu1
Severity: minor

Hello,

while reading the documentation of dbconfig-common I noticed that
$@ isn't quoted in the examples. Usually you want that though:

        $ cat printargs 
        #! /bin/sh

        printargs() {
          for i; do
            echo -- $i
          done
        }

        echo "without quote"
        printargs $@

        echo "with quote"
        printargs "$@"

        $ sh printargs "1 2" 3 4
        without quote
        -- 1
        -- 2
        -- 3
        -- 4
        with quote
        -- 1 2
        -- 3
        -- 4

Most of the time it doesn't matter much, but it's a good habit to do it
anyhow.

Best regards
Uwe


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to