Posts

阮世治

阮世治 (越南语: Nguyễn Thế Trị / .mw-parser-output .han-nom{font-family:"Nom Na Tong","Han-Nom Gothic","HAN NOM A","HAN NOM B","Ming-Lt-HKSCS-UNI-H","Ming-Lt-HKSCS-ExtB","FZKaiT-Extended","FZKaiT-Extended(SIP)","FZKaiS-Extended","FZKaiS-Extended(SIP)","Sun-ExtA","Sun-ExtB","MingLiU","MingLiU-ExtB","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","SimSun","SimSun-ExtB",sans-serif} 阮世治 ;1804年-?),越南阮朝官員,廣治提領阮世振之子。 目录 1 生平 2 子女 3 注釋 4 參考資料 生平 阮世治是廣治省肇豐府登昌縣安留總香料社(今屬廣治省肇豐縣)人,嘉隆三年(1804年)出生。明命十五年(1834年),阮世治參加承天場鄉試,考中舉人 [1] 。次年(1835年),考中乙未科進士 [2] [3] 。初任翰林院編修。明命十七年(1836年),派往平定候補。明命十八年(1837年),權理安仁府事務,不久正式任該府知府。後陞主事銜,任南義道御史。明命二十一年(1840年),陞署禮科掌印。紹治元年(1841年),任安江按察使,後轉永隆按察使。紹治三年(1843年),返鄉丁憂,不久去世。 明命十六年以前,廣治省從未出過進士,阮德懽和阮世治在乙未科同時考中黃甲第三甲,開廣治省進士先河。 子女 兒子阮世汛曾任香山縣知縣。 注釋 ^ 《國朝鄉科錄》 ^ 《國朝科榜錄》 ...

Script to rename a large number of files using the text in each file to rename

Image
1 I am trying to devise a solution to rename a large collection of files so that the text in line 3 of each file is the new filename. These files all have the same structure. My scripting ability is poor so I am hoping this problem has been approached before by others so I don't need to invent a new wheel? I've been consulting some sed and awk tutorials but not finding a solution there. These are HTML files and specifically line 3 of each file looks like this. <TITLE>DATA POPULATION 'CODE on group 1234 by THING'</TITLE> I want to grab everything between the single quotes and use that text to rename the file with that text as the filename. Can anyone point me down the right path to approach this task? The notion of renaming these one at a time would just be murder. Thanks for r...