「<」文字をエスケープする方法がわかりません。また、「指定されたファイルが見つかりません」というエラーが表示されて混乱しています。誰でも助けることができますか?
Windows XP の powershell で ack を使用しています。
質問ack-grep: chars escapingは私のものと非常に似ていますが、その質問に対して提供および受け入れられた解決策は私にはうまくいきません。
PS C:\xampp\htdocs> ack abcd
<works as expected>
PS C:\xampp\htdocs> ack <
The redirection operator '<' is not supported yet.
At line:1 char:5
+ ack < <<<<
PS C:\xampp\htdocs> ack \<
The syntax of the command is incorrect.
PS C:\xampp\htdocs> ack '<'
The syntax of the command is incorrect.
PS C:\xampp\htdocs> ack '\<'
The syntax of the command is incorrect.
PS C:\xampp\htdocs> ack [<]
The system cannot find the file specified.
PS C:\xampp\htdocs> ack '[<]'
The system cannot find the file specified.
PS C:\xampp\htdocs> ack '[\<]'
The system cannot find the file specified.
PS C:\xampp\htdocs> ack \Q<\E
The system cannot find the file specified.