"Fossies" - the Fresh Open Source Software Archive

Member "netbiff-0.9.18/catscript.sh" (17 Oct 2003, 133 Bytes) of package /linux/privat/old/netbiff-0.9.18.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 out="$1"; shift
    2 head="$1"; shift
    3 ( cat "$head"
    4   for i in "$@" ; do
    5     echo "#line 1 \"$i\""
    6     cat $i || exit 1
    7   done
    8 ) > "$out"