CmdID

CmdID / Commands

ned

Like grep but with powerful replace capabilities. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Like grep but with powerful replace capabilities. Unlike sed, as it isn't restricted to line oriented editing.

Recursively search starting in the current directory, ignoring case

ned --ignore-case --recursive '^[dl]og' .Identify

Search always showing colored output

ned --colors '^[dl]og' .Identify

Search never showing colored output

ned --colors never '^[dl]og' .Identify

Search ignoring certain files

ned --recursive --exclude '*.htm' '^[dl]og' .Identify

Replace a string in all files in the current directory

ned 'dog' --replace 'cat' .Identify

Replace using numbered group references

ned 'the ([a-z]+) dog and the ([a-z]+) dog' --replace 'the $2 dog and the $1 dog' .Identify

Replace changing case

ned '([a-z]+) dog' --case-replacements --replace '\U$1\E! dog' --stdout .Identify

Preview results of a find and replace without updating the target files

ned '^[sb]ad' --replace 'happy' --stdout .Identify