MARCEDIT-L Archives

March 2011

MARCEDIT-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Reese, Terry" <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Tue, 15 Mar 2011 09:52:11 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (180 lines)
Sorry -- here's the text itself.  There are two spaces following the 856 in the parenthesis and 2 spaces following the 856 in the replace with area.  But this should work -- I did try it and the output I'm getting appears to be what you are after.

*******************************

Find What:  (=856  ..\$u.*)(\$u.*)
Replace With: $1\n=856  41$2
Check the regular expression option

*******************************

This however, assumes that your fields are exactly as represented.  

--TR

-----Original Message-----
From: MarcEdit support in technical and instructional matters [mailto:[log in to unmask]] On Behalf Of D. Brooking
Sent: Tuesday, March 15, 2011 9:38 AM
To: [log in to unmask]
Subject: Re: [MARCEDIT-L] Subfield into new field and carriage return\

Terry, it's not working for some reason. I typed it in exactly, and tried one and two spaces between the (=856 and the ..\$u, since it wasn't clear from the image.

However I came up with another idea. Since "my" urls all begin with the same text, I can replace $uhttp://www.washington.eblib.com with $guhttp://www.washington.eblib.com

creating a unique weird subfield. I can then blow away all the other subfields I don't want, including the leftover $u's. And when I am ready I can flip the $g's back to $u's.

I am going to try this, since it doesn't involve regular expressions, I am more likely to remember it and succeed. (Being only a cataloger and not a programmer, sadly I mean.)

************
Diana Brooking             (206) 685-0389
Cataloging Librarian       (206) 685-8782 fax
Suzzallo Library           [log in to unmask]
University of Washington
Box 352900
Seattle WA  98195-2900

On Mon, 14 Mar 2011, Reese, Terry wrote:

> 
> Diana,
> 
>  
> 
> Assuming that the $u/$u pairs are as described above, use the Replace 
> function and add a new line.  See
> attached:
> 
> [IMAGE]
> 
>  
> 
> --TR
> 
>  
> 
> > -----Original Message-----
> 
> > From: MarcEdit support in technical and instructional matters
> 
> > [mailto:[log in to unmask]] On Behalf Of D. Brooking
> 
> > Sent: Monday, March 14, 2011 4:58 PM
> 
> > To: [log in to unmask]
> 
> > Subject: [MARCEDIT-L] Subfield into new field and carriage return\
> 
> >
> 
> > Hi, we have some ugly urls to fix. Basically step one would be to 
> > get the UW
> 
> > urls into their own 856 fields.
> 
> >
> 
> > Input:
> 
> >
> 
> > =856
> 
> > 40$uhttp://public.eblib.com/EBLPublic/PublicView.do?ptiID=355872$uht
> > tp://
> 
> > www.washington.eblib.com/patron/FullRecord.aspx?p=355872$zClick
> 
> > here to view book
> 
> >
> 
> > I want the $u with www.washington.edu in its own 856. I can do a 
> > find and
> 
> > replace, but then the =856 does not get its own new line and 
> > MARCedit does
> 
> > not recognize it as a new line.
> 
> >
> 
> > =856 40$uhttp://public.eblib... 355872=856
> 
> > 40$uhttp://www.washington.eblib
> 
> >
> 
> > Is there a way to insert a carriage return before the new =856?
> 
> >
> 
> > I also tried swapping fields, but without success. (I never even 
> > mentioned $z
> 
> > to it, but that's what it put in a new 856 field, not the $u! I put 
> > 856 $u in both
> 
> > halves of the swap fields wizard basically to see what would
> 
> > happen.)
> 
> >
> 
> > Thanks for any advice,
> 
> >
> 
> > ************
> 
> > Diana Brooking             (206) 685-0389
> 
> > Cataloging Librarian       (206) 685-8782 fax
> 
> > Suzzallo Library           [log in to unmask]
> 
> > University of Washington
> 
> > Box 352900
> 
> > Seattle WA  98195-2900
> 
> >
> 
> > __________________________________________________________
> 
> > ______________
> 
> >
> 
> > This message comes to you via MARCEDIT-L, a Listserv(R) list for 
> > technical and
> 
> > instructional support in MarcEdit.  If you wish to communicate 
> > directly with
> 
> > the list owners, write to [log in to unmask] To
> 
> > unsubscribe, send a message "SIGNOFF MARCEDIT-L" to
> 
> > [log in to unmask]
> 
> ______________________________________________________________________
> __
> 
> This message comes to you via MARCEDIT-L, a Listserv(R) list for 
> technical and instructional support in MarcEdit. If you wish to 
> communicate directly with the list owners, write to 
> [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]
> 
> 
>

________________________________________________________________________

This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit.  If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]

________________________________________________________________________

This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit.  If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]

ATOM RSS1 RSS2