Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
2e18c8d
allow for use in a normal browser using connect
Floby May 16, 2011
69967de
fix missing default fonts in client
Floby May 16, 2011
ed2bf19
use npm for packages, add shebang to nodekit.js
Floby May 19, 2011
77dfdde
don't use ./ as base for paths.unshift, use __dirname instead
Floby May 19, 2011
14c462a
don't bundle dependencies
Floby May 19, 2011
eacdbfa
show a message when server is listening
Floby May 19, 2011
9bc2a18
update readme
Floby May 19, 2011
6057aca
reorder how to use section
Floby May 19, 2011
71a3557
allow connection from remote hosts.
Floby May 20, 2011
38efbae
Merge branch 'master' of github.com:Floby/TermKit
Floby May 20, 2011
111685b
Change Mac-Only Image Locations to Local Linux Folder Locations
May 22, 2011
9f5352b
Fix Errors with Previous Commit
May 22, 2011
495dde7
Fix the issue with ls -la not working or any other command supported
May 22, 2011
904cdc0
revert changes made
May 23, 2011
eca942c
Merge branch 'master' of https://github.com/Shifty0x88/TermKit
May 23, 2011
c8bb1c0
modded protocol.js to reflect josephg's removal of double encoding of…
May 23, 2011
f20bc2e
modded paths and fixed errors in paths
May 23, 2011
1a6b191
added guard against no line matches in grep from phaseq's fork
May 23, 2011
11da824
Added Faenza Icons, and code to Load Icon Images based on File Extension
May 24, 2011
b092172
added Image files from Faenza Gnome Icons
May 24, 2011
2075bbd
Remove silly socket.io submodule. Thou shalt use npm
Floby Jul 26, 2011
ca8f989
trying to fix install list
Floby Aug 7, 2011
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added guard against no line matches in grep from phaseq's fork
  • Loading branch information
Shifty committed May 23, 2011
commit 1a6b191f89ee0109c9a3b2775cd0b1170deade36
5 changes: 4 additions & 1 deletion Node/shell/builtin/grep.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ exports.main = function (tokens, pipes, exit) {

// Filter values recursively.
data = grep(data, pattern);

// Guard against no line matches -- Thanks 'phaseq'
if( data == null ) {
data = new Array();
}
if (json) {
// Serialize
data = JSON.stringify(data);
Expand Down