fanta_orange_grapeの(日記というより)記事のつもり

いままでの人生で一番美味しかったもの = 紅茶とトースト(高校生)。

語源。「taint」の語源。

「taint」の語源

www.etymonline.com

two distinct words of different origin overlap in the modern verb. From late 14c. as "to dye, impart color," from Anglo-French teinter, Old French teindre "to dye, color," from Latin tingere (see tincture, tint). Teintour as an English surname, meaning probably "one who dyes clothes," is from late 12c.

Middle English also had teynten, teinten "to convict (of a crime), prove guilty" (implied in past-participle teinte, late 14c.), which is partly from Old French ataint, past participle of ataindre "to touch upon, seize" (see attainder). It also is partly a native shortening of attaint "to convict (someone)," from the past participle of atteinen in a legal sense (see attain (v.)).

The semantic overlap was evident in Middle English. Taint is attested by 1570s as "to corrupt, contaminate, imbue with something deleterious," also "to touch, tinge, imbue slightly" (1590s). Related: Tainted; tainting.

ChatGPT訳:

異なる起源を持つ2つの異なる語が、現代の動詞の中で重なっている。14世紀後期から、「染める、色を与える」の意味で使われ、これはアングロ・フランス語 teinter、古フランス語 teindre(染める、色づける)から来ており、さらにラテン語 tingere(「tincture(チンキ)」「tint(色合い)」を参照)に由来する。

英語の姓 Teintour は、おそらく「服を染める人」という意味で、12世紀後期から見られる。

中英語にはまた teynten や teinten(罪を立証する、有罪とする)という語もあり(過去分詞 teinte に見られる、14世紀後期)、これは一部は古フランス語 ataint(触れる、押収する)の過去分詞である ataindre に由来する(attainder を参照)。

またこれは一部、法律的な意味での atteinen の過去分詞から来た attaint(人を有罪とする)の、英語における短縮形でもある。

意味的な重なりは中英語において明白であった。taint は1570年代には「腐敗させる、汚染する、有害なものを染み込ませる」として記録され、また1590年代には「触れる、少し染み込ませる、わずかに影響を与える」の意味でも見られる。

Wictionaryで意味

名詞
taint (複数 taints)

腐敗。
汚名。不名誉。
汚よごれ。汚染。
痕跡。
動詞
taint (三単現: taints, 現在分詞: tainting, 過去形: tainted, 過去分詞: tainted )

(他動詞) 汚よごす。汚染する。
(他動詞) 腐くさらせる。
(自動詞) 感染する。
(自動詞) 腐る。腐敗する。

語源。「induce」の語源。

「induce」の語源

www.etymonline.com

formerly also enduce, late 14c., "to lead by persuasions or other influences," from Latin inducere "lead into, bring in, introduce, conduct; persuade; suppose, imagine," from in- "into, in, on, upon" (from PIE root en "in") + ducere "to lead" (from PIE root deuk- "to lead"). Meaning "to bring about" in any way (in reference to a trance, a fever, etc.) is from early 15c.; sense of "to infer by reasoning" is from 1560s. Electro-magnetic sense first recorded 1777. Related: Induced; inducing.

ChatGPT訳:

以前は enduce とも(表記され)、14世紀後期、「説得やその他の影響によって導くこと」の意味で使われた。ラテン語 inducere(中へ導く、持ち込む、紹介する、案内する;説得する;仮定する、想像する)から。in-(中へ、内に、上に)から来ており(印欧祖語の語根 en「中へ」 に由来) + ducere(導く)(印欧祖語の語根 deuk-「導く」 に由来)から派生。

「いかなる方法でも引き起こす」(トランス状態や熱などに関して)の意味は15世紀初頭から。「推論によって導き出す」の意味は1560年代から。

電磁的な意味での使用は1777年に初めて記録された。

Wictionaryで意味を

~する気にさせる。
引ひき起おこす、誘発する。
(陣痛を)誘発する、出産を促うながす。
(電磁気学, 電気・磁気を) 誘導する。
帰納する。

語源。「involve」の語源。

「involve」の語源

www.etymonline.com

late 14c., "envelop, surround; make cloudy or obscure," from Old French involver and directly from Latin involvere "envelop, surround, overwhelm," literally "roll into," from in- "in" (from PIE root en "in") + volvere "to roll," from PIE root wel- (3) "to turn, revolve." Mid-15c. as "concern oneself." Sense of "take in, include" first recorded c. 1600. Related: Involved; Involving.

Obscurest night involved the sky, The Atlantic billows roared, [Cowper, "The Castaway"]

ChatGPT訳:

14世紀後期、「包む、囲む;曇らせる、はっきりしなくする」という意味で現れた。 古フランス語の involver および、ラテン語の involvere(包む、囲む、圧倒する)に由来し、文字通りには「中に巻き込む」という意味。 接頭辞 in-(「中へ」、印欧祖語 en「中へ」)と、volvere(「回す」、印欧祖語 wel- (3)「回る、回転する」)の組み合わせ。 15世紀中頃には「関与する、自分に関係する」という意味で使われた。 「含む、取り込む」という意味は、1600年ごろに初めて記録された。 関連語:involved(関与した)、involving(関与すること)。

もっとも暗い夜が空を包み、 大西洋の波がうなりをあげた。 (カウパー『捨てられた者』より)

Oxfordで語源

late Middle English (in the senses ‘enfold’ and ‘entangle’; formerly also as envolve): from Latin involvere, from in- ‘into’ + volvere ‘to roll’.

ChatGPT訳:

中期後期英語(「包み込む」「もつれさせる」の意味で;かつては envolve という形もあった):ラテン語 involvere に由来し、in-「中へ」+ volvere「回す」から成る。

Wictonaryで意味

動詞
involve (三単現: involves, 現在分詞: involving, 過去形: involved, 過去分詞: involved )

巻まき込こむ、関係させる。
含ふくむ、伴ともなう。

Markdown。A container block is a block that has other blocks as its contents.  です。

コンテナブロックとは、他のブロックをその内容として持つブロックのことです。

A container block is a block that has other blocks as its contents.

https://spec.commonmark.org/0.31.2/

Container blocks(コンテナブロック)

spec.commonmark.org

例えば、1

https://spec.commonmark.org/dingus/?text=%3E%23%20Foo%0A%3Ebar%0A%3E%20baz%0A

例えば、2

https://spec.commonmark.org/dingus/?text=1.%20%20foo%0A%0A%20%20%20%20%60%60%60%0A%20%20%20%20bar%0A%20%20%20%20%60%60%60%0A%0A%20%20%20%20baz%0A%0A%20%20%20%20%3E%20bam%0A

例えば、3

https://spec.commonmark.org/dingus/?text=%201.%20%20A%20paragraph%0A%20%20%20%20%20with%20two%20lines.%0A%0A%20%20%20%20%20%20%20%20%20indented%20code%0A%0A%20%20%20%20%20%3E%20A%20block%20quote.%0A

Markdown、コードブロックとか以外では、太文字とかシングルクォートとか有効なんだ。。。

お題

はてなでは?

Qiitaでは?

redmineでは?

仕様的に説明するならば。。。。

ちょっと、例外が多くて、上手く説明できない気がする、、、、別途。

spec.commonmark.org

コメント

タイトルの通り。。。
コードブロックとか以外では、太文字とかシングルクォートとか有効なんだ。。。 (タイトルは、もともと、太文字だから、差がないけど。。。)
予想に反して、どれも同じ!!!

(これからすごく重要になると思うのだが。。。)Markdownの仕様が適当過ぎて、悲しい😢

お題

下記2つは、CommonMarkの仕様ではなく、GFM?の仕様の範囲(脱力。。。)

* `~~取り消し線~~` → ~~取り消し線~~

---

- [ ] aaa
- [x] bbb
- [ ] ccc

Redmine 4.1.0 では

(※ たぶん、新しいのは、うまくいくハズ。。。だが)

Qiita(20250613)では  <--100点。模範演技。⭐

はてな(20250613)では  

  • ~~取り消し線~~取り消し線

  • [ ] aaa
  • [x] bbb
  • [ ] ccc

コメント

こんなことすら合わせられない今の社会が厳しい。。。。。。。。。。(かな)
他の「markdown」⭐カテゴリの記事も宜しく。。。 もう少し見ていただければ、まじめに書けることもあると思っている。

findとgrepについて、globと正規表現の関係を教えて。

表題の質問をChatGPTに教えてもらった。goo。

findgrep における glob(グロブ)と 正規表現regex)の関係はとても重要で、混同されやすいポイントです。以下に詳しく解説します。


🔹【1】glob(グロブ)とは?

**glob は「ワイルドカードによるパターンマッチ」**のことです。

主な記号:

記号 意味
* 0個以上の任意の文字列
? 任意の1文字
[abc] aまたはbまたはc

これは シェル(bash など)や find-name-path オプションで使われます。


🔹【2】正規表現regex)とは?

正規表現は、もっと強力で柔軟なパターンマッチ手法です。

主な記号(基本的な例):

記号 意味
. 任意の1文字
* 直前の文字の0回以上の繰り返し
+ 直前の文字の1回以上の繰り返し
[] 指定した文字のいずれか
^ 行頭を表す
$ 行末を表す

これは grep(とくに egrepgrep -E)で使用されます


🔹【3】find と grep の使い分けと関係

ツール glob 正規表現 備考
find -name-path で使用 -regex で使用 glob が標準的に使われるが、正規表現も可
grep ❌ globは使えない 正規表現が標準 grep は完全に正規表現ベース

🔸【4】例で理解:glob vs 正規表現

✅ glob の例(findで使用):

find . -name "*.txt"

.txt で終わるすべてのファイルを探す(glob)

正規表現の例(findで使用):

find . -regex '.*\.txt'

→ パス全体が .txt で終わるもの(正規表現

grep の例(正規表現のみ):

grep '^error.*' logfile.txt

error で始まる行を検索(正規表現


🔹【5】まとめ:glob と正規表現の関係

特徴 glob 正規表現
主な用途 ファイル名・パスのマッチ テキスト内容のマッチ
柔軟性 簡易的で限定的 非常に柔軟で複雑なパターンが可能
使用場所 シェル、find -name grepfind -regex など

補足:glob を使って grep を使う例

grep error *.log

ここでの *.logglob(シェルによる展開) です。grep 自体は glob を解釈しません。


必要であれば、「glob と正規表現の文法の対応表」や「どのツールが何をサポートしているか」の一覧表もお出しできます。