Marc Kupietz | 62869dd | 2023-05-26 11:53:27 +0200 | [diff] [blame] | 1 | #!/usr/bin/env perl |
| 2 | |
| 3 | while (<STDIN>) { |
Marc Kupietz | 37d5a88 | 2023-06-07 10:01:57 +0200 | [diff] [blame] | 4 | s/AdministrativeRegulatory_Prose<\/classCode>/Instructional:AdministrativeRegulatoryProse<\/classCode>/; |
Marc Kupietz | 62869dd | 2023-05-26 11:53:27 +0200 | [diff] [blame] | 5 | s/Administrative\/regulatory prose<\/classCode>/Instructional:AdministrativeRegulatoryProse<\/classCode>/; |
| 6 | s/Blogs<\/classCode>/Blog<\/classCode>/; |
| 7 | s/Creative<\/classCode>/Creative:Novels_ShortStories<\/classCode>/; |
| 8 | s/Learned_Humanities<\/classCode>/Informational:Learned:Humanities<\/classCode>/; |
| 9 | s/Learned_Natural_Sciences<\/classCode>/Informational:Learned:NaturalSciences<\/classCode>/; |
| 10 | s/Learned_Social_Sciences<\/classCode>/Informational:Learned:SocialSciences<\/classCode>/; |
| 11 | s/Learned_Technology<\/classCode>/Informational:Learned:Technology<\/classCode>/; |
| 12 | s/Popular_Humanities<\/classCode>/Informational:Popular:Humanities<\/classCode>/; |
| 13 | s/Popular_Natural_Sciences<\/classCode>/Informational:Popular:NaturalSciences<\/classCode>/; |
| 14 | s/Popular_Social_Sciences<\/classCode>/Informational:Popular:SocialSciences<\/classCode>/; |
| 15 | s/Popular_Technology<\/classCode>/Informational:Popular:Technology<\/classCode>/; |
| 16 | s/Press_comments<\/classCode>/Persuasive<\/classCode>/; |
| 17 | s/Press_news_reports<\/classCode>/Informational:Reportage<\/classCode>/; |
| 18 | s/SkillsHobbies<\/classCode>/Instructional:Skills_Hobbies<\/classCode>/; |
| 19 | print; |
| 20 | } |