Skip to content
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

c2p Activity #3 - Example #4 #2

Open
loconous opened this issue Nov 18, 2023 · 1 comment
Open

c2p Activity #3 - Example #4 #2

loconous opened this issue Nov 18, 2023 · 1 comment

Comments

@loconous
Copy link
Collaborator

The following example (4th in Activity #3) provides a different output than what it is listed in the tutorial.

[lgonzal6@da0]~% echo a8fe822f075fa3d159a203adfa40c3f59d6dd999 | ~/lookup/getValues b2tac | cut -d\; -f4 | ~/lookup/getValues -f c2p 
121f970412fec7f9af0352a9b4ce8dca43bdb59e;Happy-Ferret_unix-history-repo
121f970412fec7f9af0352a9b4ce8dca43bdb59e;broftkd_unix-history-repo
121f970412fec7f9af0352a9b4ce8dca43bdb59e;descent_unix-history-repo
121f970412fec7f9af0352a9b4ce8dca43bdb59e;ls-zhu_unix-history-repo
121f970412fec7f9af0352a9b4ce8dca43bdb59e;plabrop_unix-history-repo

Output should be:

ajburton_freebsd
bu7cher_freebsd
denghuancong_freebsd
...
@loconous
Copy link
Collaborator Author

[lgonzal6@da0]~/tutorial% echo a8fe822f075fa3d159a203adfa40c3f59d6dd999 | ~/lookup/getValues b2tac | awk -F \; '{for(i=4;i<NF;i+=3){print $i}}' | ~/lookup/getValues -f c2p | cut -d ";" -f2 | sort -u |  head -3
0cjs_unix-history-repo
0mp_freebsd
0xbda2d2f8_freebsd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant