Home > OS >  How to input TAB string in a Windows command window?
How to input TAB string in a Windows command window?

Time:10-07

I want to lose a find command, for example, to find a TXT there is a TAB of this character and line and output in the CMD, I input the find "\ t" translation not character, or say I input method is wrong?

CodePudding user response:

To switch to findstr searches

CodePudding user response:

Use the grep command

The grep command in the Linux system is a powerful text search tool, it can use Regular expressions to search text, and the horse matchs line printed, grep's full name is the Global Regular Expression Print, said Global Regular Expression version of its access to all users,

The Linux under the find
Functions: search for files in the directory structure, and perform the specified operation, this command provides a considerable amount of search conditions, function is very powerful,
Grammar: find the starting directory search conditions operation
Description: the find command from the specified starting directory, recursively search its various subdirectories, find the file for condition and take related operations,

So simply say, grep is to find the matching conditions, the find is the file search matching conditions,

CodePudding user response:

refer to the second floor usecf response:
with the grep command

The grep command in the Linux system is a powerful text search tool, it can use Regular expressions to search text, and the horse matchs line printed, grep's full name is the Global Regular Expression Print, said Global Regular Expression version of its access to all users,

The Linux under the find
Functions: search for files in the directory structure, and perform the specified operation, this command provides a considerable amount of search conditions, function is very powerful,
Grammar: find the starting directory search conditions operation
Description: the find command from the specified starting directory, recursively search its various subdirectories, find the file for condition and take related operations,

So simply say, grep line is to find the matching conditions, the find is the file search matching conditions,

So simply say, you go the wrong house
  • Related