From alexey.lazar at mnsu.edu Thu Jul 24 17:31:22 2014 From: alexey.lazar at mnsu.edu (Lazar, Alexey Vladimirovich) Date: Thu, 24 Jul 2014 21:31:22 +0000 Subject: [Evergreen-admin] [OPEN-ILS-GENERAL] misc_util.tt2 and our 508 tag... In-Reply-To: References: <53D163F4.70600@masslnc.org> Message-ID: On 2014-07-24, at 14:57 , Tony Bandy wrote: > OK?that helps! I was flying around the file system opening up various *.tt2 files looking for info! Hello, Tony. When fishing for strings in pile of files, the find command can be handy. Something like: /openils/var$ find ./ -type f -print0 | xargs -0 grep ?508' The first couple of results in my case were: ./templates/opac/parts/record/authors.tt2: xpath => '//*[@tag="508"]' ./templates/opac/parts/record/contents.tt2: xpath => '//*[@tag="508?]? Although, be ready to cancel the command with Ctrl+C, in case it gets to a reports output or logs folder. > At the risk of driving you (and everyone else crazy?.) if I open up the authors.tt2 file?can I just remove the offending lines? Yes, but probably safest not to experiment on a live system. Also, if you are not using this approach already, consider using a separate folder for your locally customized template files. Otherwise they would get overwritten by the next upgrade. Having a separate directory for customized files would also let you more easily keep track of differences and cross-merge with template files from newer versions. Aleksey Lazar IS Developer and Integrator - PALS http://www.mnpals.org/ From hoveys at buffalolib.org Fri Jul 25 06:25:37 2014 From: hoveys at buffalolib.org (Stephen Hovey) Date: Fri, 25 Jul 2014 06:25:37 -0400 Subject: [Evergreen-admin] [OPEN-ILS-GENERAL] misc_util.tt2 and our 508 tag... In-Reply-To: References: <53D163F4.70600@masslnc.org> Message-ID: If you unix box has it installed (many do by default), locate is faster locate .tt2 -----Original Message----- From: evergreen-admin-bounces at list.evergreen-ils.org [mailto:evergreen-admin-bounces at list.evergreen-ils.org] On Behalf Of Lazar, Alexey Vladimirovich Sent: Thursday, July 24, 2014 5:31 PM To: Evergreen Discussion Group; Subject: Re: [Evergreen-admin] [OPEN-ILS-GENERAL] misc_util.tt2 and our 508 tag... On 2014-07-24, at 14:57 , Tony Bandy wrote: > OK...that helps! I was flying around the file system opening up various *.tt2 files looking for info! Hello, Tony. When fishing for strings in pile of files, the find command can be handy. Something like: /openils/var$ find ./ -type f -print0 | xargs -0 grep '508' The first couple of results in my case were: ./templates/opac/parts/record/authors.tt2: xpath => '//*[@tag="508"]' ./templates/opac/parts/record/contents.tt2: xpath => '//*[@tag="508"]' Although, be ready to cancel the command with Ctrl+C, in case it gets to a reports output or logs folder. > At the risk of driving you (and everyone else crazy....) if I open up the authors.tt2 file...can I just remove the offending lines? Yes, but probably safest not to experiment on a live system. Also, if you are not using this approach already, consider using a separate folder for your locally customized template files. Otherwise they would get overwritten by the next upgrade. Having a separate directory for customized files would also let you more easily keep track of differences and cross-merge with template files from newer versions. Aleksey Lazar IS Developer and Integrator - PALS http://www.mnpals.org/ _______________________________________________ Evergreen-admin mailing list Evergreen-admin at list.evergreen-ils.org http://list.evergreen-ils.org/cgi-bin/mailman/listinfo/evergreen-admin The Buffalo & Erie County Public Library System has more than 2.6 million materials available for borrowing including books, eBooks, DVDs, music and more. Free library card applications can be downloaded and taken to any of the 37- local public libraries for processing. A valid form of identification and proof of address is necessary. For more information call 716-858-8900 or visit www.BuffaloLib.org . From alexey.lazar at mnsu.edu Fri Jul 25 10:00:36 2014 From: alexey.lazar at mnsu.edu (Lazar, Alexey Vladimirovich) Date: Fri, 25 Jul 2014 14:00:36 +0000 Subject: [Evergreen-admin] [OPEN-ILS-GENERAL] misc_util.tt2 and our 508 tag... In-Reply-To: References: <53D163F4.70600@masslnc.org> Message-ID: <8E9DB090-2B26-4852-B045-E31AB7AAA734@mnsu.edu> On 2014-07-25, at 05:25 , Stephen Hovey wrote: > If you unix box has it installed (many do by default), locate is faster > > locate .tt2 Oh yeah, for some reason I forgot about locate and haven?t used it for like half a decade. You?re right, it is faster, using current example case: locate .tt2 | xargs grep ?508' Thanks. Aleksey Lazar IS Developer and Integrator - PALS http://www.mnpals.org/