classes/phing/tasks/system/AppendTask.php
public function setEol($crlf)
    {
        $s = $crlf;
        if ($s === "cr" || $s === "mac") {
            $this->eolString = "\r";
        } elseif ($s === "lf" || $s === "unix") {
            $this->eolString = "\n";
        } elseif ($s === "crlf" || $s === "dos") {
            $this->eolString = "\r\n";
        } else {
            $this->eolString = $this->getProject()->getProperty('line.separator');
        }
    }
public function setEol($crlf)
    {
        $s = $crlf;
        if ($s === "cr" || $s === "mac") {
            $this->eolString = "\r";
        } elseif ($s === "lf" || $s === "unix") {
            $this->eolString = "\n";
        } elseif ($s === "crlf" || $s === "dos") {
            $this->eolString = "\r\n";
        } else {
            $this->eolString = $this->getProject()->getProperty('line.separator');
        }
    }
public function setEol ( $ crlf ) { $ s = $ crlf ; if ( $ s === "cr" || $ s === "mac" ) { $ this -> eolString = "\r" ; } elseif ( $ s === "lf" || $ s === "unix" ) { $ this -> eolString = "\n" ; } elseif ( $ s === "crlf" || $ s === "dos" ) { $ this -> eolString = "\r\n" ; } else { $ this -> eolString = $ this -> getProject ( ) -> getProperty ( 'line.separator' ) ; } }
Specify the end of line to find and to add if
not present at end of each input file. This attribute
is used in conjunction with fixlastline.

@param string $crlf the type of new line to add -
cr, mac, lf, unix, crlf, or dos
Specify the end of line to find and to add if not present at end of each input file . This attribute is used in conjunction with fixlastline .