Skip to content

grep: option not recognized: l #717

@davidwilder

Description

@davidwilder

Node version (or tell us if you're using electron or some other framework):

v6.9.5

ShellJS version (the most recent version/Github branch you see the bug on):

v0.7.7

Operating system:

macOS 10.12.4

Description of the bug:

Getting this error when trying to use grep -l option.

grep: option not recognized: l

Example ShellJS command to reproduce the error:

#! /usr/bin/env node
const shell = require('shelljs');
const fileList = shell.grep('-l', 'angular.module(\'App\').component', '*.js');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions