Hi there, Im not sure if this is a PHP command, or a specific server command..

but Im using :-

echo `cat $temp >>$output 2>&1`;


To copy one file & append it to another (Basically to create an index
file, & combine multiple files into one master index file.)

Question :-

would anyone know if this can be changed so that it removes blank
lines - during the copy ?

Or will I need to use the PHP fopen / fwrite etc commands & loop
through the source files & re-write it removing blanks..

(I've been told the cat command is faster...)

-- 
G
NZ community groups - [EMAIL PROTECTED]
NZ-Website space offered.


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to