[PLUG] Local (PDX) data recovery from a Dell SSD

2019-05-20 Thread Richard England
A friend has contacted me about a gentleman who is coming back to PDX from Sri Lanka and his 5 yr old Dell laptop with a SSD has died. He was told by someone in Colombo that there was no hope recovering the data but he wants to give it a shot here.  This is all the information I have at this

Re: [PLUG] Minimal Distribution for Atom 550 Processor

2019-05-20 Thread Aaron Burt
On 2019-05-20 16:29, Michael Barnes wrote: I got an SSD for this beast, now waiting on a power cord. In the meantime, trying to decide on what distribution I want to load. I was originally going to go with CentOS, but not sure if that is doable on this Atom processor. Very doable if you

Re: [PLUG] Minimal Distribution for Atom 550 Processor

2019-05-20 Thread Michael Christopher Robinson
On Mon, 2019-05-20 at 16:29 -0700, Michael Barnes wrote: > I got an SSD for this beast, now waiting on a power cord. In the > meantime, > trying to decide on what distribution I want to load. I was > originally > going to go with CentOS, but not sure if that is doable on this Atom > processor. I

[PLUG] Minimal Distribution for Atom 550 Processor

2019-05-20 Thread Michael Barnes
I got an SSD for this beast, now waiting on a power cord. In the meantime, trying to decide on what distribution I want to load. I was originally going to go with CentOS, but not sure if that is doable on this Atom processor. I saw a recommendation for Puppy Linux, but Puppy became very confusing

Re: [PLUG] Gawk script not working as intended

2019-05-20 Thread tomas . kuchta . lists
I definitely do not need spaces around ~ That being said - I would have written it this way (if I'd chose to skip the spaces): #!/usr/bin/gawk BEGIN { FS=OFS=","; } $5~/'Legal Contact'/ { next; } { print $0; } echo "'fld1','fld2','fld3','fld4','fld5' 'fee','fie','foh','fum','Keep Me'

Re: [PLUG] Gawk script not working as intended [RESOLVED]

2019-05-20 Thread Rich Shepard
On Mon, 20 May 2019, Reid wrote: It shouldn't... does it work differently for you after you add the space? Reid, It did with the test file, but with the 1084-line data file it didn't. I don't see why it works on some line pairs but not all. With such a simple script there should be no

Re: [PLUG] Gawk script not working as intended [RESOLVED]

2019-05-20 Thread Reid
It shouldn't... does it work differently for you after you add the space? Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Monday, May 20, 2019 2:26 PM, Rich Shepard wrote: > On Mon, 20 May 2019, Robert Citek wrote: > > > This is what I am getting: > > $ cat plug.awk > >

Re: [PLUG] Gawk script not working as intended

2019-05-20 Thread Rich Shepard
On Mon, 20 May 2019, Reid wrote: Works on my machine. Maybe you've got a Unicode single-quote? Reid, No, but I needed a space following the tilde (while I see that you didn't need one). When I added the space the script worked as intended. Thanks, Rich

Re: [PLUG] Gawk script not working as intended [RESOLVED]

2019-05-20 Thread Rich Shepard
On Mon, 20 May 2019, Robert Citek wrote: This is what I am getting: $ cat plug.awk #!/usr/bin/awk BEGIN { FS=OFS="," } { if ( $5 ~ /'Legal Contact'/ ) # double quotes also fail Is that what you are looking for? Robert, Ah, ha! I did not realize that the tilde needed a following space,

Re: [PLUG] Gawk script not working as intended

2019-05-20 Thread Reid
Works on my machine. Maybe you've got a Unicode single-quote? [reid@laptop ~]$ cat test #!/usr/bin/gawk BEGIN { FS=OFS="," } { if ($5 ~/'Legal Contact'/) # double quotes also fail next else print $0 } [reid@laptop ~]$ gawk -f test input.txt

Re: [PLUG] Gawk script not working as intended

2019-05-20 Thread Robert Citek
This is what I am getting: $ cat plug.awk #!/usr/bin/awk BEGIN { FS=OFS="," } { if ( $5 ~ /'Legal Contact'/ ) # double quotes also fail next else print $0 } $ cat plug.txt 'fld1','fld2','fld3','fld4','fld5' 'fee','fie','foh','fum','Keep Me' 'fee','fie','foh','fum','Legal

[PLUG] Gawk script not working as intended

2019-05-20 Thread Rich Shepard
I have a long CSV file with two rows for each entity and I want to print only the first row to the output file. It's so simple that despite my research in using awk I'm not seeing my error. Gawk script: #!/usr/bin/gawk BEGIN { FS=OFS="," } { if ($5 ~/'Legal Contact'/) # double quotes also fail