Comments (11)
Closing this issue since @thepyzhov made a PR and hopefully it get's merged and he provided an alternative using AWK. Thank you again @thepyzhov
from gauth.
Or even better, the ability to get only the current code, something like:
$ gauth --key=snapchat --type=current
from gauth.
Sent #66 PR to resolve this issue
from gauth.
Also, until the PR isn't merged, you can use:
$ gauth | awk '/CODE_NAME/ {print $3}'
for printing current
code
from gauth.
Assuming AWK is the programing language? I mean not all users use Linux, So what would that be in Windows?
from gauth.
@ftk789 I'm not sure about Windows, but I guess this post can help
from gauth.
@ftk789 I'm not sure about Windows, but I guess this post can help
Oh I didn't know there's AWK for Windows, Thank you for this, Although the command you gave doesn't work
from gauth.
For example (if I have Google code): $ gauth | awk '/Google/ {print $3}'
works on Mac Terminal fine
Maybe for Windows AWK
or grep
has different API
from gauth.
For example (if I have Google code):
$ gauth | awk '/Google/ {print $3}
works on Mac Terminal fineMaybe for Windows
AWK
orgrep
another API
Needs an investigation, Thank you in any case.
from gauth.
@ftk789 As I see, you've missed closing '
. Should be '/Discord/ {print $3}'
from gauth.
@ftk789 As I see, you've missed closing
'
. Should be'/Discord/ {print $3}'
Oh sorry that was a mistake, Even with that still doesn't work, After some investigation, Seems like ' ' for windows works only in PowerShell, In CMD it needs " " instead. Thank you soo much.
from gauth.
Related Issues (20)
- License HOT 4
- Left-pad service names
- Config File Option HOT 1
- a "confirmation" option for safety HOT 2
- I don't really understand the encryption , like how can i set it up? HOT 3
- Invalid block padding error after encrypting using opensll HOT 7
- The ability to add new secrets using prefixes HOT 4
- How to Use this with an existing setup from Authy? HOT 2
- Provide prebuilt binaries for released versions HOT 5
- Is this QR code tool of any interest? HOT 2
- Decrypting using openssl so that I can add new entries HOT 5
- v1.3.0 released binaries cannot be opened on Mac HOT 2
- FR: Provide a `-V`/`--version` switch
- Get a specific secret not working, but bare (`-b`) works.
- FR: Provide a `-h`/`--help` switch
- Add to Homebrew
- Tip: Add this to add a search parameter to gauth!
- Encryption outdated? HOT 1
- Support/FR: allow feeding decryption password via `stdin`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gauth.