Grex Agora Conference

Item 19: Hello, Grex!

Entered by papa on Fri Jan 27 07:11:47 2017:

33 new of 37 responses total.


#5 of 37 by papa on Mon Jan 30 18:18:13 2017:

Thank you!


#6 of 37 by papa on Fri Feb 3 04:09:53 2017:

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.


#7 of 37 by tonster on Fri Feb 3 17:29:20 2017:

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.


#8 of 37 by papa on Fri Feb 3 21:04:10 2017:

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.


#9 of 37 by papa on Sat Feb 4 00:23:25 2017:

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.


#10 of 37 by tfurrows on Sat Feb 4 01:51:47 2017:

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.


#11 of 37 by tod on Tue Feb 7 00:44:45 2017:

re #9
People were trying to make money off of an open source intellect.
There were egos and nepotism.
It was fun!


#12 of 37 by papa on Tue Feb 7 09:18:20 2017:

The history of the Internet in microcosm.


#13 of 37 by walkman on Wed Feb 8 00:31:09 2017:

It's all fun and games until GeoCities closes.


#14 of 37 by tod on Wed Mar 1 00:39:15 2017:

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


#15 of 37 by papa on Wed Mar 1 04:47:59 2017:

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.


#16 of 37 by papa on Wed Mar 1 04:52:55 2017:

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



#17 of 37 by unicorn on Wed Mar 1 05:39:35 2017:

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


#18 of 37 by unicorn on Wed Mar 1 06:04:52 2017:

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.


#19 of 37 by kentn on Wed Mar 1 16:49:44 2017:

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).


#20 of 37 by unicorn on Thu Mar 2 03:17:20 2017:

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.


#21 of 37 by tod on Sat Mar 4 04:54:35 2017:

re #16 
super thanks

re #19
How would you script that?
Hadn't thought of comm


#22 of 37 by kentn on Sun Mar 5 02:00:32 2017:

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.



#23 of 37 by deejoe on Tue May 30 00:15:20 2017:

 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).



#24 of 37 by cross on Tue May 30 00:53:29 2017:

`moreutils` is actually the GNU package name. I added it on grex.


#25 of 37 by ryan on Sun Nov 11 12:58:58 2018:

often times `less` is `more`



#26 of 37 by walkman on Wed Sep 25 11:20:47 2019:

We can be heroes. Just for fifteen minutes.
https://tinyurl.com/y3oscsgm


#27 of 37 by walkman on Sat Oct 5 23:06:14 2019:

https://www.youtube.com/watch?v=WrHldIbkeZw


#28 of 37 by tod on Sat Oct 12 05:03:01 2019:

re #26
She Called Aspergers Her Superpower
Each Parent Organ Grinders
https://www.youtube.com/watch?v=5zLU_6nBc4E


#29 of 37 by walkman on Mon Oct 21 16:40:50 2019:

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


#30 of 37 by cross on Mon Oct 21 17:42:39 2019:

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.


#31 of 37 by tod on Thu Oct 24 02:20:38 2019:

It would have been more powerful if Axl Rose said it


#32 of 37 by walkman on Sun Oct 27 21:42:30 2019:

"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.


#33 of 37 by papa on Mon Oct 28 21:31:52 2019:

resp:30

--> item:environment:47


#34 of 37 by papa on Thu Apr 22 22:19:11 2021:

[Performs a ritual summoning the spirits of Backtalk to return.]


#35 of 37 by rak on Sat Apr 24 14:18:57 2021:

[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]


#36 of 37 by papa on Tue Apr 27 00:44:24 2021:

resp:35
I didn't think that would actually work!
;)


#37 of 37 by walkman on Thu Apr 29 15:24:58 2021:

"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


There are no more items selected.

You have several choices: