nl_tokens: / *
pl_tokens: function send ( opts , cb ) { "use strict" ; var params = [ 'send' ] ; if ( opts . replication ) { params . push ( '-R' ) ; } if ( opts . deduplicate ) { params . push ( '-D' ) ; } if ( opts . properties ) { params . push ( '-p' ) ; } if ( opts . noop ) { params . push ( '-n' ) ; } if ( opts . parsable ) { params . push ( '-P' ) ; } if ( opts . verbose ) { params . push ( '-v' ) ; } if ( opts . incremental ) { if ( opts . intermediary ) { params . push ( '-I' ) ; } else { params . push ( '-i' ) ; } params . push ( opts . incremental ) ; } params . push ( opts . snapshot ) ; spawnzfs ( params , function ( err , child ) { if ( err ) { return cb ( err ) ; } var buffer = [ ] ; var sendStream = child . stdout ; child . stderr . on ( 'data' , function ( data ) { data = data . toString ( ) ; buffer . <mask> ( data ) ; if ( opts . verbose ) { sendStream . emit ( 'verbose' , data ) ; } //only keep last 5 lines if ( buffer . length > 5 ) { buffer . shift ( ) ; } } ) ; child . once ( 'exit' , function ( code ) { if ( code !== 0 ) { var message = 'Send Error:' + util . compact ( buffer . join ( '\n' ) . split ( '\n' ) ) . join ( '; ' ) . trim ( ) ; var err = new Error ( message ) ; err . code = code ; sendStream . emit ( 'error' , err ) ; } } ) ; return cb ( null , sendStream ) ; } ) ; }