Updating shelljs to 0.2.6. Copy now preserves mode bits.

This commit is contained in:
Braden Shepherdson
2013-10-23 15:22:36 -04:00
parent 28c41294bb
commit 001570e941
35 changed files with 2105 additions and 1888 deletions
+20
View File
@@ -0,0 +1,20 @@
var common = require('./common');
//@
//@ ### echo(string [,string ...])
//@
//@ Examples:
//@
//@ ```javascript
//@ echo('hello world');
//@ var str = echo('hello world');
//@ ```
//@
//@ Prints string to stdout, and returns string with additional utility methods
//@ like `.to()`.
function _echo() {
var messages = [].slice.call(arguments, 0);
console.log.apply(this, messages);
return common.ShellString(messages.join(' '));
}
module.exports = _echo;