-
Notifications
You must be signed in to change notification settings - Fork 11
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
Provide text output for none-block selection mode #6
Comments
No description provided, so I have to guess what you meant.
You meant this You can change it to whatever you want:
Or remove it completely with the help of other tools like The To remove it completely with
HTH |
I meant But you gave me the answer I want. Thank you Thank you |
My final version for the future visitors of this page |
SelText
while using it
OK, re-title it to "Provide text output for none-block selection mode" |
Basically the ask is to get the text part from this output:
|
Yes the above comment is correct ^^ |
I think we can close this ticket. I gave a fully working example.ANother one give below as well |
$ cascadia -q -i "https://github.com/suntong/cascadia/releases/latest" -o -c "div[class='flex-1'] h1"
<h1 data-view-component="true" class="d-inline mr-3">v1.2.6</h1>
$ cascadia -q -i "https://github.com/suntong/cascadia/releases/latest" -o -c "div[class='flex-1'] h1" -t
v1.2.6
$ cascadia -q -i "https://github.com/suntong/cascadia/releases/latest" -o -c "div.flex-1 h1" -t
v1.2.6
$ cascadia -q -i "https://github.com/suntong/cascadia/releases/latest" -o -c "h1.d-inline.mr-3" -t
v1.2.6
$ cascadia -q -i "https://github.com/suntong/cascadia/releases/latest" -o -c "div.flex-1 h1" -t | hexdump -C
00000000 76 31 2e 32 2e 36 09 0a 0a |v1.2.6...|
$ cascadia -q -i "https://github.com/suntong/cascadia/releases/latest" -o -c "div.flex-1 h1" -t -d '' | hexdump -C
00000000 76 31 2e 32 2e 36 0a 0a |v1.2.6..|
$ cascadia -q -i "https://github.com/puppeteer/puppeteer/releases/latest" -o -c "div[class='flex-1']" -t -R; echo done
12.0.0
Latest
This commit was created on GitHub.com and signed with GitHub’s verified signature.
done
$ cascadia -q -i "https://github.com/puppeteer/puppeteer/releases/latest" -o -c "div[class='flex-1']" -t; echo done
12.0.0
Latest
This commit was created on GitHub.com and signed with GitHub’s verified signature.
done
$ cascadia -q -i "https://github.com/puppeteer/puppeteer/releases/latest" -o -t -c "h1.d-inline.mr-3" -c "div.flex-1 strong"
12.0.0
verified signature |
Super cool |
can you give me a minimum case to duplicate, not just a screenshot please. |
|
:) Hmm that is why my grep was not working |
No description provided.
The text was updated successfully, but these errors were encountered: