-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doskey macros not working in pipes #539
Comments
You cannot pipe the output of a command to a doskey macro. It was never a thing. |
The chrisant996/clink fork supports it, when the |
@chrisant996 could you give a example for that ? thanks |
I don't know what you're asking. Also, this repo is abandoned. The chrisant996 fork has tons of improvements from the past few years. |
@chrisant996 doskey support pipe in clink ?
what I expect to ouput is : can clink do that? thanks! |
Yes. But you're using the old abandoned 0.4.9 from this repo, from 8+ years ago. You need to upgrade to the current fork. |
@chrisant996 I am using chrisant996/clink v1.6.21.f97375,
|
First: If you're using Clink v1.6.x then you're posting in the wrong repo. You're posting in the mridgers v0.4.9 repo right now. You should post in the chrisant996 fork repo instead. Second: Oh, you're using a complex doskey alias that uses $1 followed by other text. I think there's no good way to make that work how you want without breaking other kinds of complex doskey macros. For example, issue chrisant996/clink#187 has a long discussion about related complexities. The enhanced doskey alias functionality is only able to support simpler macros. |
Oops, I'm sorry, I was reading on my phone before, and I misread. I had thought the macro was on the left side of the pipe -- my comment about "complex doskey alias" does not apply to your case, because you used the doskey alias is on the right side of the pipe. |
Running
Clink v0.4.9 [git:2fd2c2]
onWindows 10 Pro 1909 Build 18363.815
Any macro that comes after the pipe symbol (
|
) in a command line is not interpreted.The text was updated successfully, but these errors were encountered: