|
|
Hello, Grex! I'm a new Grex member. Thanks for the validation. I'm a fifty-something U.S. expatriate living in Japan for the last 25+ years. Computer programming has been a hobby since my first exposure to BASIC on a university mainframe during a junior high summer camp back in the late 1970s (we got to do FORTRAN on punch cards, too!), and my interest has deepened as my work has become less technical over the course of my career (I'm currently an IT security auditor). I heard about Grex several years ago, but was encouraged to join and actually find out about the place and community by my friend and fellow-SDF member tfurrows. I'm looking forward to learning. I hope it was alright for me to borrow this space to introduce myself. Sincerely yours, -- David Meyer Takarazuka, Japan papa@grex.org
37 responses total.
Hello David I'm interested in your IT security auditing. What are some of the standards and controls you are encountering in Japan?
Welcome papa, very glad to see you on here! Post all you like to bbs, it could use the activity :) saw you in party as well, hope I'll catch you there live someday. If you're interested in some coding, there are some thoughts on changing up party to be a little more friendly... plenty to do here with some time and energy if one wants to. The staff here are pretty open to new ideas, so definitely share them!
Neonicontinoid, our company and a few of its larger subsidiaries are required report under the Japan version of SOX, but most of our subsidiaries are so small that we have a less formal process to help them implement minimal IT security controls like malware controls, vulnerability controls, information leakage countermeasures, etc.
Hi David, welcome to Grex!
Thank you!
I guess this is as good a place as any for a newbie question. Grex and M-net seem like such similar systems (purpose, technology, user base), I wonder why there were two systems in the first place, and why the two continue to be maintained in parallel.
Wow, that is a great question, and a very loaded one as well. You'd get a lot of different answers asking on each system, but Jan Wolter, who was a great guy, wrote a history of conferencing awhile back that gave a lot of the answers. Read about it at http://www.unixpapa.com/conf/oldhistory.html.
That is an interesting history. I should have guessed politics was behind it. Great domain name, unixpapa.com. Too bad the author passed away in 2015.
tl;dr Grex was formed my a group of dissident M-net users over a dispute with the then-administrator of M-net. The two systems are similar because they started as a single system/community.
I saw a while back that party's source was on unixpapa.com, and I thought maybe that had something to do with you :) I guess not, but it could have easily been.
re #9 People were trying to make money off of an open source intellect. There were egos and nepotism. It was fun!
The history of the Internet in microcosm.
It's all fun and games until GeoCities closes.
I need to identify which words in a list do not exist in in a file called widgetlist. Can I create a pattern file called "widgets" with each widget in it on their own line; then, grep against a file called "widgetlist" to see which widgets are not in it? grep -fL widgets widgetlist
I don't think you can do it with one grep command. You have to check each line of widgets for no match. In bash or sh, something like this should work: cat widgets |while read w; do grep -q $w widgetlist; if test $? -eq 1; then echo $w; fi done That runs grep for each line in widgets & detects no match by checking for exit code ($?) of 1.
Same code "pretty-printed" instead of one-lined:
cat widgets | while read w
do
grep -q $w widgetlist
if [ $? -eq 1 ]
then
echo $w
fi
done
Actually, that's what the -f option is for, but if you're looking for
the widgets that aren't in the file instead of the ones that are, you
need to use -v with it:
grep -vf widgets widgetlist
If you use the -v and -f together, make sure the v comes before the f,
since widgets is an argument for the -f option. If you use -fv, you'll
be grepping for the letter v in both files, which isn't what you want.
You could also use:
grep -v -f widgets widgetlist
or
grep -f widgets -v widgetlist
I just reread resp:14, and I think you want the reverse of what I said.
It should be:
grep -vf widgetlist widgets
That will find which lines are in widgets that aren't in widgetlist.
The unix comm command will also tell you whnt lines are in common or not between two sorted lists (files). Lots of options (e.g. in one list and not the other).
I also misstated what -fv would do, if mistakenly used instead of -vf. I said it would grep for the letter v, but it would actually look for a pattern file called v to find its patterns to match. Sorry for the confusion.
re #16 super thanks re #19 How would you script that? Hadn't thought of comm
Here is an example:
widgets:
widget1
widget2
widget3
widget8
widgetlist:
widget1
widget2
widget3
widget4
widget5
widget6
widget7
#Print only lines present in both file1 and file2.
comm -12 widgets widgetlist
widget1
widget2
widget3
#Print lines in file1 not in file2, and vice versa
comm -3 widgets widgetlist
widget4
widget5
widget6
widget7
widget8
Scripting might include sorting the two lists, but the comm
command itself is pretty easy.
The Debian package 'moreutils' has a command 'combine' that apparently can be used for this sort of thing. It's probably available for other systems, or from source (of course).
`moreutils` is actually the GNU package name. I added it on grex.
often times `less` is `more`
We can be heroes. Just for fifteen minutes. https://tinyurl.com/y3oscsgm
https://www.youtube.com/watch?v=WrHldIbkeZw
re #26 She Called Aspergers Her Superpower Each Parent Organ Grinders https://www.youtube.com/watch?v=5zLU_6nBc4E
The idea that we must prop up a mentally ill teenage girl as an authority on climate science is so fundamentally absurd. Then again, she is also being propped up like a climate messiah. Does that work for all 16 year old girls? Where does one apply to speak to the UN Assembly? https://tinyurl.com/y2kw6rew
I found her annoying. Doesn't mean she's wrong, though. The science really is settled; she's just pissed in a weird way that people don't take that seriously.
It would have been more powerful if Axl Rose said it
"The science really is settled" That's quite the contradiction. At any rate, now that it's a closed case, it's time to end funding for climate research.
resp:30 --> item:environment:47
[Performs a ritual summoning the spirits of Backtalk to return.]
[pop] I guess this spirit can appear and make his first ever backtalk post. I looked through many of the conferences and archives, and I really wish backtalk were as active as it once was. I am curious to see usage stats for grex and backtalk these days. `last` reveals the same handful of users most times I check it, while ps shows that about a dozen non-system accounts have jobs running. Also: someone should perhaps write a cron job that kills abandoned pnewuser processes. There are 34 of them still running going back to January. [poof]
resp:35 I didn't think that would actually work! ;)
"So we go inside and we gravely read the stones All those people, all those lives, where are they now? With-a loves and hates and passions just like mine They were born, and then they lived, and then they died Seems so unfair, I want to cry" ~ Morrissey
Response not possible - You must register and login before posting.
|
|
- Backtalk version 1.3.30 - Copyright 1996-2006, Jan Wolter and Steve Weiss