Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #14942

Re: List files being edited ?

From Unknown <dog@gmail.com>
Newsgroups alt.os.linux.slackware, alt.os.linux.debian, comp.os.linux.misc
Subject Re: List files being edited ?
Date 2015-06-15 13:58 +0000
Organization A noiseless patient Spider
Message-ID <pan.2015.06.15.13.59.50@gmail.com> (permalink)
References <mhdle4$4j6$1@dont-email.me> <mhfl1e$98f$1@dont-email.me> <mhg8m1$b2q$1@dont-email.me>

Cross-posted to 3 groups.

Show all headers | View raw


On Sat, 25 Apr 2015 14:34:41 +0000, William Unruh wrote:

> On 2015-04-25, no.top.post@gmail.com <no.top.post@gmail.com> wrote:
>> In article <mhdle4$4j6$1@dont-email.me>, Joe Beanfish
>> <joebeanfish@nospam.duh> wrote:
>>
>>> On Fri, 24 Apr 2015 03:29:49 +0000, no.top.post wrote:
>>> > What's the script to list all the files <open under mcedit>? It's
>>> > for human consuption, so need not be 'clean';
>>> 
>>> Perhaps
>>> 
>>> awk '/mcedi[t]/{gsub("\0"," ");print}' /proc/*/cmdline
> 
> Or
> ps auxww |grep mcedit|grep -v grep
> I have that as an alias
> function psg () { ps axww -o "%U %G %p %C %z %y %t  %x %a"| egrep
> $*\|'^USER '| grep -v grep ;}

IMO one-line-ism is a BAD habit.
This is completely out of control.

--snip--
>>> Of course that assumes the user hasn't switched files since starting
>>> mcedit.

?? The whole aim is to be able to look back-in-history, since the user
MULTIPLY "switched files since starting mcedit"?!

--snip --

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

List files being edited ? no.top.post@gmail.com - 2015-04-24 03:29 +0000
  Re: List files being edited ? Joe Beanfish <joebeanfish@nospam.duh> - 2015-04-24 14:53 +0000
    Re: List files being edited ? no.top.post@gmail.com - 2015-04-25 08:59 +0000
      Re: List files being edited ? William Unruh <unruh@invalid.ca> - 2015-04-25 14:34 +0000
        Re: List files being edited ? Helmut@Hullen.de (Helmut Hullen) - 2015-04-25 18:26 +0200
        Re: List files being edited ? Unknown <dog@gmail.com> - 2015-06-15 13:58 +0000
          Re: List files being edited ? William Unruh <unruh@invalid.ca> - 2015-06-15 15:37 +0000
            Re: List files being edited ? Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2015-06-15 20:10 +0300
          Re: List files being edited ? "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> - 2015-06-15 20:51 +0200
            Re: List files being edited ? William Unruh <unruh@invalid.ca> - 2015-06-17 03:53 +0000

csiph-web