[SPAM 0.6] Re: Add subfield in MARCEdit

From: <reeset_at_nyob>
Date: Wed, 27 Jan 2021 15:00:27 -0500
To: CODE4LIB_at_LISTS.CLIR.ORG
Spam detection software, running on the system "avery.infomotions.com",
has identified this incoming email as possible spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
eric_morgan_at_infomotions.com for details.

Content preview:  Just for reference, there is a marcedit list (https://listserv.gmu.edu/cgi-bin/wa?A0=marcedit-l)
   hosted by George Mason that has a searchable archive. However, to answer
  your question -- Can I assume that you are looking to add this to fields that
   have a 650 second indicator 7 since I'll assume [Our local subject heading]
   will change? Do you have records with a 650 second indicator 7 that would
   already have a $2 in them? [...] 

Content analysis details:   (0.6 points, 0.5 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
-0.0 RCVD_IN_MSPIKE_H4      RBL: Very Good reputation (+4)
                            [66.175.211.245 listed in wl.mailspike.net]
-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                            [score: 0.0000]
-0.6 RP_MATCHES_RCVD        Envelope sender domain matches handover relay domain
-0.0 SPF_PASS               SPF: sender matches SPF record
-0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail
                            domains are different
 0.0 T_HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail
                            domains are different
 0.0 DKIM_ADSP_CUSTOM_MED   No valid author signature, adsp_override is
                            CUSTOM_MED
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail provider
                            (reeset[at]gmail.com)
-0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
-1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                            manager
 0.0 DC_PNG_UNO_LARGO       Message contains a single large inline gif
 0.0 T_FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
                            EnvelopeFrom freemail headers are different
 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom
                             freemail headers are different
 1.0 PDS_BAD_THREAD_QP_64   Bad thread header - short QP
 0.2 DC_IMAGE_SPAM_TEXT     Possible Image-only spam with little text
 0.8 DC_IMAGE_SPAM_HTML     Possible Image-only spam
 1.5 PDS_SHORTFWD_URISHRT_QP Apparently a short fwd/re with URI shortener

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.


attached mail follows:


Just for reference, there is a marcedit list (https://listserv.gmu.edu/cgi-bin/wa?A0=marcedit-l) hosted by George Mason that has a searchable archive.  

 

However, to answer your question -- Can I assume that you are looking to add this to fields that have a 650 second indicator 7 since I'll assume [Our local subject heading] will change?  Do you have records with a 650 second indicator 7 that would already have a $2 in them?

 

I'm going to make the following assumptions:

1. That we need to assess any 650 with a second indicator of 7

2. That we only want to process data on fields that don't already have a $2 in it

 

There are a couple different ways to do this -- I prefer to just use the replace function and a regular expression.  It would look like this:

Example data:

=650  \7$aLocal Subfield$xData

=650  \7$aLocal Subfield

=650  \7$aNot local$2data

=650  \1$aShouldn't be changed.

 

After Replacement:

=650  \7$aLocal Subfield$xData$2local

=650  \7$aLocal Subfield$2local

=650  \7$aNot local$2data

=650  \1$aShouldn't be changed.

 

Process:



 

--tr

 

-----Original Message-----
From: Code for Libraries <CODE4LIB_at_LISTS.CLIR.ORG> On Behalf Of Thomas San Filippo
Sent: Wednesday, January 27, 2021 2:19 PM
To: CODE4LIB_at_LISTS.CLIR.ORG
Subject: [CODE4LIB] Add subfield in MARCEdit

 

Hi folks,

 

We have a question for someone with MARCEdit expertise.

 

If the following field is present:

 

*=650 \7 $aOur local subject heading*

 

we want to add to the end of the line:

 

*$2local*

 

The problem is, sometimes our local subject heading also has other subfields like $x or $z, and we want to add subfield $2 at the end of the line, so we can't just use find and replace (or can we with a regex maybe?). We think we're supposed to be using the edit subfield tool, but we don't want to add our subfield to every 650, just the ones containing our local subject heading.

 

Can someone point us in the right direction?

 

Thanks,

 

 

*Thomas San Filippo* (he/him/his)

*Systems and Educational Technology Liaison*

 

Madeleine Clark Wallace Library

< <https://wheatoncollege.edu/academics/library/> https://wheatoncollege.edu/academics/library/>, G34 Wheaton College < <https://wheatoncollege.edu> https://wheatoncollege.edu>

26 E. Main Street, Norton, MA 02766 < <https://goo.gl/maps/d5JvoKZUEXy> https://goo.gl/maps/d5JvoKZUEXy>

(508) 286-5601 <+15082865601>

Twitter: @WallaceLibrary < <https://twitter.com/WallaceLibrary> https://twitter.com/WallaceLibrary> | Instagram:

/wallacelibrary < <https://www.instagram.com/wallacelibrary/> https://www.instagram.com/wallacelibrary/>




image001.png
Received on Wed Jan 27 2021 - 14:59:57 EST