[PLUG] desktop machine failures

2015-07-04 Thread Denis Heidtmann
Yesterday and today on starting I get errors such as: Boot from (hd0,0) ext3 d7d8b1c0-f79. Error 16: Inconsistent file system structure press any key to continue... key press presented list of boot options. I selected memtest. I got just a flashing cursor. Power off and restart produced:

Re: [PLUG] desktop machine failures

2015-07-04 Thread Ken Stephens
Denis Heidtmann wrote: Yesterday and today on starting I get errors such as: Boot from (hd0,0) ext3 d7d8b1c0-f79. Error 16: Inconsistent file system structure press any key to continue... key press presented list of boot options. I selected memtest. I got just a flashing cursor.

Re: [PLUG] desktop machine failures

2015-07-04 Thread Ken Stephens
Ken Stephens wrote: Denis Heidtmann wrote: Yesterday and today on starting I get errors such as: Boot from (hd0,0) ext3 d7d8b1c0-f79. Error 16: Inconsistent file system structure press any key to continue... key press presented list of boot options. I selected memtest. I got just a

Re: [PLUG] desktop machine failures

2015-07-04 Thread Rich Shepard
On Sat, 4 Jul 2015, Ken Stephens wrote: Make that the fsck command. More specifically, e2fsck checks and repairs ext2/ext3 file systems. I've used it in the past and it does just what it says: checks and repairs. You'll have time for dinner while it's working, but it will do the job. Rich

Re: [PLUG] egrep syntax correction

2015-07-04 Thread Rich Shepard
On Sat, 4 Jul 2015, David Fleck wrote: Try removing the backslashes: egrep -cE ^P[[:digit:]]{5} That works for me. David, That was one of the first flavors I tried; still doesn't work: [rshepard@salmo ~]$ egrep -cE ^P[[:digit:]]{5} hrwq.dat 0 After a number of futile attempts (and

Re: [PLUG] desktop machine failures

2015-07-04 Thread Rich Shepard
On Sat, 4 Jul 2015, Denis Heidtmann wrote: I am running sudo e2fsck -f /dev/sda1 I suppose I could interrupt it (if I knew how) and add the v and p options. Certainly the -v is a no-brainer. Denis, Let 'er rip until done. Won't hurt anything. Can always try -fvp afterwards. Rich

Re: [PLUG] egrep syntax correction

2015-07-04 Thread David Fleck
On Sat, 2015-07-04 at 19:28 -0400, Pete Lancashire wrote: To HOT to think don't forget to end the regexp stop with a non-digit if you dont P12345anything will pass. On Sat, Jul 4, 2015 at 7:25 PM, Pete Lancashire p...@petelancashire.com wrote: Don't use the back slash, and use single

Re: [PLUG] egrep syntax correction

2015-07-04 Thread Pete Lancashire
D**M I've got to stop using this F gmail and get back to basics $ cat p | egrep -cE '^P[[:digit:]]{5}' 4 On Sat, Jul 4, 2015 at 7:52 PM, Pete Lancashire p...@petelancashire.com wrote: $ cat p P12345 P123 P12 P1 S1 S12 S123 S1234 S12345 P1234 P123456 P1234z P12345a

Re: [PLUG] egrep syntax correction

2015-07-04 Thread Pete Lancashire
$ cat p P12345 P123 P12 P1 S1 S12 S123 S1234 S12345 P1234 P123456 P1234z P12345a P12345abc $ cat p | egrep -ce '^P[[:digit:]]{5}' 4 $ cat p | grep -ce '^P[[:digit:]]{5}' 0 OH OH .. should be (upper case) E :-) $ cat p | grep -ce '^P[[:digit:]]{5}' 0 On Sat, Jul 4, 2015 at 7:43 PM, Rich

Re: [PLUG] desktop machine failures

2015-07-04 Thread Denis Heidtmann
On Sat, Jul 4, 2015 at 4:35 PM, Derek Loree d...@drloree.com wrote: On Jul 4, 2015, at 3:51 PM, Denis Heidtmann denis.heidtm...@gmail.com wrote: As I said, I booted from a live CD and attempted to run fsck. It spends zero time to respond that /dev/sda1 is clean.” Check your partition

Re: [PLUG] desktop machine failures

2015-07-04 Thread Rich Shepard
On Sat, 4 Jul 2015, Denis Heidtmann wrote: As I said, I booted from a live CD and attempted to run fsck. It spends zero time to respond that /dev/sda1 is clean. Are there some options I should use when running fsck? I know when Ubuntu runs automatically every so often on boot that it takes

Re: [PLUG] egrep syntax correction

2015-07-04 Thread Rich Shepard
On Sat, 4 Jul 2015, Pete Lancashire wrote: don't forget to end the regexp stop with a non-digit if you dont P12345anything will pass. There is content after the Pn; all I want is a count of the number of lines beginning with Pn. Rich ___

Re: [PLUG] egrep syntax correction

2015-07-04 Thread Rich Shepard
On Sat, 4 Jul 2015, Pete Lancashire wrote: Don't use the back slash, and use single quotes to force all the expression to go to egrep directiy Pete, First I tried without the backslashes but my reading of the man page caused me to try. Didn't work either way. $ grep -ce '^P[[:digit:]]{5}'

Re: [PLUG] egrep syntax correction

2015-07-04 Thread Pete Lancashire
To HOT to think don't forget to end the regexp stop with a non-digit if you dont P12345anything will pass. On Sat, Jul 4, 2015 at 7:25 PM, Pete Lancashire p...@petelancashire.com wrote: Don't use the back slash, and use single quotes to force all the expression to go to egrep directiy -pete

Re: [PLUG] desktop machine failures

2015-07-04 Thread Denis Heidtmann
Ah, the man page for e2fsck discloses the -f option--forces the check. Thanks. Check in progress. -Denis On Sat, Jul 4, 2015 at 3:48 PM, Rich Shepard rshep...@appl-ecosys.com wrote: On Sat, 4 Jul 2015, Ken Stephens wrote: Make that the fsck command. More specifically, e2fsck checks

Re: [PLUG] desktop machine failures

2015-07-04 Thread Denis Heidtmann
On Sat, Jul 4, 2015 at 4:45 PM, Rich Shepard rshep...@appl-ecosys.com wrote: On Sat, 4 Jul 2015, Denis Heidtmann wrote: I am running sudo e2fsck -f /dev/sda1 I suppose I could interrupt it (if I knew how) and add the v and p options. Certainly the -v is a no-brainer. Denis, Let

Re: [PLUG] egrep syntax correction

2015-07-04 Thread Pete Lancashire
Don't use the back slash, and use single quotes to force all the expression to go to egrep directiy -pete happy HOT 4th On Sat, Jul 4, 2015 at 7:09 PM, Rich Shepard rshep...@appl-ecosys.com wrote: I have an 851 line data file in which certain lines begin with P followed by 5 digits. I

Re: [PLUG] desktop machine failures

2015-07-04 Thread Rich Shepard
On Sat, 4 Jul 2015, Denis Heidtmann wrote: It completed. Nothing in the report indicates any errors. Maybe I need to go on to sda2 and sda5? Denis, I would. Can't hurt anything to check all partitions while you're at it. Try the verbose option (-v) with them and you'll see the number of

Re: [PLUG] desktop machine failures

2015-07-04 Thread Denis Heidtmann
As I said, I booted from a live CD and attempted to run fsck. It spends zero time to respond that /dev/sda1 is clean. Are there some options I should use when running fsck? I know when Ubuntu runs automatically every so often on boot that it takes a few minutes to complete. Yet when I run

[PLUG] egrep syntax correction

2015-07-04 Thread Rich Shepard
I have an 851 line data file in which certain lines begin with P followed by 5 digits. I want to count the number of those lines. Despite reading the grep man page I am missing the correct syntax. The expression egrep -cE ^P[[:digit:]]\{5\} hrwq.dat returns a count of zero (0). So

Re: [PLUG] egrep syntax correction

2015-07-04 Thread Galen Seitz
On 07/04/15 17:29, Rich Shepard wrote: On Sat, 4 Jul 2015, Pete Lancashire wrote: $ cat p | egrep -cE '^P[[:digit:]]{5}' 4 [rshepard@salmo ~]$ cat p | egrep -cE '^P[[:digit:]]{5}' hrwq.dat cat: p: No such file or directory 0 [rshepard@salmo ~]$ cat hrwq.dat | egrep -cE

Re: [PLUG] desktop machine failures

2015-07-04 Thread Derek Loree
On Jul 4, 2015, at 3:51 PM, Denis Heidtmann denis.heidtm...@gmail.com wrote: As I said, I booted from a live CD and attempted to run fsck. It spends zero time to respond that /dev/sda1 is clean.” Check your partition table with fdisk, cfdisk, or parted. It is possible the partition table

Re: [PLUG] egrep syntax correction

2015-07-04 Thread Rich Shepard
On Sat, 4 Jul 2015, Pete Lancashire wrote: $ cat p | egrep -cE '^P[[:digit:]]{5}' 4 [rshepard@salmo ~]$ cat p | egrep -cE '^P[[:digit:]]{5}' hrwq.dat cat: p: No such file or directory 0 [rshepard@salmo ~]$ cat hrwq.dat | egrep -cE '^P[[:digit:]]{5}' 0 Still no joy. Let's let it rest. Thanks,

Re: [PLUG] New laser printer advice needed

2015-07-04 Thread Rich Shepard
On Fri, 3 Jul 2015, Erik Lane wrote: I haven't tried to print an envelope, but in my driver, under page setup I can set the two sided option to one sided. Kind of counterintuitive, but not so bad. If you still have problems with that set to one-sided, then it's beyond me... Alternatively,