What difference between 陳謝「ちんしゃ」 and 謝罪「しゃざい」? Both words in dictionary translated the same “apology”.
陳謝「ちんしゃ」 is oral apology (take into account that kanji 陳「チン」 means exhibit, state, relate, explain), 謝罪 – can be in any form of apology.

Sometimes we need to find duplicate lines in a files and count how many time each line was duplicated. We can do that next way:

find . -type f | xargs fgrep "Notice" | uniq -c | sort -nr

. for find means that search will be in current directory.
-type f for find means, we take into account only files.
-с for uniq means prefix lines by the number of occurrences.
-n for sort means compare according to string numerical value.
-r for sort means reverse the result of comparisons.
Another way to get same result:

Read books with Aozora Bunko
Important thing you need to know about Aozora Bunko is written on their page.青空文庫は、誰にでもアクセスできる自由な電子本を、図書館のようにインターネット上に集めようとする活動です。
著作権の消滅した作品と、「自由に読んでもらってかまわない」とされたものを、テキストとＸＨＴＭＬ（一部はＨＴＭＬ）形式に電子化した上で揃えています。

Aozora Bunko is activity, like a library, where we try to gather in internet free e-books to which everybody can gain access.
Books with elapsed copyright and “books which you can freely read” was gathered and converted to electronic form – text and XHTML (partly HTML).
Lets look into these sentences, like we will analyze texts.

青空文庫は、誰にでもアクセスできる自由な電子本を、図書館のようにインターネット上に集めようとする活動です。

Aozora Bunko is activity, like a library, where we try to gather in internet free e-books to which everybody can gain access.Words

electronization; digitization; computerization; conversion to electronics; conversion to electronic form

揃える

そろえる

to collect; to gather; to get together; to complete (a collection)

Lets try to read some text. Lets begin with fairy tale, but with not famous like momotaro or issun-boshi but more uncommon. Tale list at Aozora we can find there. Lets start with begin of list, with Akita Ujaku’s (秋田雨雀) The three peasants (三人の百姓). This tale already modernized (新字新仮名) and we can freely read it.

三人の百姓

Translation

The three peasants

Words

Words

Word

Reading

Mean

三人

さんにん

three people

百姓

ひゃくしょう

farmer, peasant, country bumpkin

秋田雨雀

Translation

Akita Ujaku

Words

Words

Word

Reading

Mean

秋田

あきた

Akita

雨雀

うじゃく

Ujaku

昔、ある北の国の山奥に一つの村がありました。

Translation

Once upon a time in some northern country deep in the mountains there was a village.

Words

Words

Word

Reading

Mean

昔

むかし

olden days; former

或る

ある

a certain …; some …

北

きた

north

ある北の国

あるきたのくに

some northern country

国

くに

country

山奥に

やまおくに

deep in the mountains

村

むら

village

その村に伊作いさく、多助たすけ、太郎右衛門たろうえもんという三人の百姓がありました。

Translation

In that village there was a three peasants: Isakum Tasuke and Taroemon.

Words

Words

Word

Reading

Mean

村

むら

village

伊作

いさく

Isaku (name)

多助

たすけ

Tasuke (name)

郎右衛門

たろうえもん

Taroemon (name)

という

という

called; named

三人

さんにん

three people

百姓

ひゃくしょう

farmer; peasant; country bumpkin

三人の百姓は少しばかりの田を耕しながら、その合間に炭を焼いて三里ばかり離れた城下に売りに行くのを仕事にしておりました。

Translation

The three peasants little by little plow a rice field, in spare moment make charcoal and went to sell it to castle, which was just in three ri, this was their work. (literally, they make it their work)

Words

Words

Word

Reading

Mean

三人

さんにん

three people

百姓

ひゃくしょう

farmer; peasant; country bumpkin

少し

すこし

small quantity; little; few; something

ばかり

ばかり

only; merely; nothing but; no more than

田

た

rice field

耕す

たがやす

to till; to plow; to plough; to cultivate

ながら

ながら

while; during; as

合間

あいま

interval; break; pause; spare moment

炭

すみ

charcoal

焼く

やく

to make (charcoal, pottery, bricks, etc.); to bake; to fire; to burn

三里

さんり

Three ri (3.927km or 2.44 miles)

離れる

はなれる

to be separated; to be apart; to be distant

城下

じょうか

land near the castle

売る

うる

to sell

行く

いく

to go; to move (in a direction or towards a specific location); to head (towards); to be transported (towards); to reach

The village, where was born the three peasants, was very small and distant and there was no other worth besides when became autumn and all montains get covered with red leaves, peoples from castle come to see at autumn colours.

Kanji

Kanji

Kanji

Reading

Mean

三

サン

three

人

ひと

man, person

百

ひゃく

100, hundred

姓

せい

surname, family name

生

なま

raw, uncooked, fresh

村

むら

village

淋しい

さみしい

lonely, lonesome, solitary, desolate

小

しょう

smallness, small item

秋

あき

autumn, fall

山

やま

mountain, hill

一

いち

one

面

めん

face

紅

あか

red, crimson, scarlet

葉

は

leaf

城

しろ

castle

下

した

below, down, under, younger (e.g. daughter)

見

み

looking, viewing

来

らい

next (year, etc.)

何

なに

what

取

しゅ

appropriation, obtaining

柄

がら

pattern, design

Words

Words

Words

Reading

Mean

三人

さんにん

three people

百姓

ひゃくしょう

farmer, peasant, country bumpkin

一面

いちめん

one face, one surface

紅葉

こうよう

autumn colours, fall colors, leaves changing color (colour)

城下

じょうか

land near the castle

紅葉

こうよう

autumn colours, fall colors, leaves changing color (colour)

取柄

とりえ

worth, redeeming feature, merit, gain, profit

しかし百姓たちの村に入るところに大きな河が流れて、その河には、秋になると、岩名いわなや山魚やまべが沢山に泳いでいました。

Translation

But when autumn came, lot fish iwana and amabe began swin in the river, which runs near the entrance of village.

“What the hell, where are from this baby? He has so beautiful face!”, said Tasuke looking at the baby’s face.
“Furthemore, he has good clothes, he is ceranily not a commoner’s baby! In this case better not take part in it. In other case we will be involved in this and will be thrown in jail, this will be awful! I tell you, if you don’t touch a god, then you will not be damned(proverb)”, added he.

Kanji

Kanji

Words

Reading

Mean

一

イチ; ひと, ひと（つ）

one

体

タイ, テイ; からだ

somebody, person, body

何

カ; なに, なん

what

処

ショ

dispose, manage, deal with, sentence, condemn, act, behave, place

子

シ, ス; こ

child, sign of the rat, 11PM-1AM, first sign of Chinese zodiac

供

キョウ, ク; とも, そな（える）

submit, offer, present, serve (meal), accompany

顔

ガン; かお

face, expression

多

タ; おお（い）

many, frequent, much

助

ジョ; たす（ける）

help, rescue, assist

赤

セキ, シャク; あかい

red

児

ジ, ニ; こ

newborn babe, child, young of animals

見

ケン; みる

see, hopes, chances, idea, opinion, look at, visible

着

チャク; つ（く）, き（る）

arrive, wear, counter for suits of clothing

物

ブツ, モツ; もの

thing, object, matter

者

シャ; もの

someone, person

手

シュ; て

hand

合

ゴウ, ガツ; あ（う）, あ（わせる）

fit, suit, join

牢

ロウ

prison, jail, hardness

屋

オク; や

roof, house, shop, dealer, seller

大

タイ, ダイ; おお（きい）

large, big

変

ヘン; か（える）, か（わる）

unusual, change, strange

触

ショク; ふ（れる）, さわ（る）

contact, touch, feel, hit, proclaim, announce, conflict

神

シン; かみ

gods, mind, soul

祟

スイ; たた（る）, たた（り）

curse, haunt

言

ゲン, ゴン; こと, い（う）

say, word

附

フ

affixed, attach, refer to, append

足

ソク; あし, たりる

leg, foot, be sufficient, counter for pairs of footwear

Words

Words

Words

Reading

Mean

一体何処

いったいどこ

What the hell, where are from?

子供

こども

child, sign of the rat, 11PM-1AM, first sign of Chinese zodiac

多助

たすけ

Tasuke (name)

赤児

あかご

baby

着物

きもの

clothing; clothes, kimono

うっかり

うっかり

carelessly; thoughtlessly; inadvertently

手が付けられない

てがつけられない

施すべき手段・方法がない。どうしようもない。 「火の回りが速くて－・ない」

牢屋

ろうや

jail; gaol; jailhouse

大変

たいへん

very; greatly; serious; grave; dreadful; terrible

附足す

つけたす

to add to

「そうだども、不憫ふびんでねいか、獣けだものにでも見つかったら、食われてしまうでねいか？」
と、気の弱い太郎右衛門は言いました。

Translation

“So what? You dont pity him? If he will be found by wild animals they eat him”, said weaked spirit Taroemon.

Taroemon all the way to home worried how he will raise the abandoned baby, but when he arrived at home and showed baby to the wife and then she became happy because they dont have any children, at this moment he feels himself relieved.

Kanji

Kanji

Words

Reading

Mean

太

タイ, タ; ふと（い）, ふと（る）

plump, thick, big around

郎

ロウ

son, guy

右

ウ, ユウ; みぎ

right

衛

エイ

defense, protection

門

モン; かど

gate, counter for cannons

拾

シュウ, ジュウ; ひろ（う）

pick up, gather, find, go on foot, ten

赤

セキ, シャク; あかい

red

児

ジ, ニ; こ

newborn babe, child, young of animals

育

イク; そだ（つ）, そだ（てる）

bring up, grow up, raise, rear

行

コウ, ギョウ; い（く）, おこな（う）

going, journey, carry out, conduct, act, line, row, bank

道

ドウ, トウ; みち

road-way, street, district, journey, course, moral, teachings

心

シン; こころ

heart, mind, spirit

配

ハイ; くば（る）

distribute, spouse, exile, rationing

帰

キ; かえ（る）

homecoming, arrive at, lead to, result in

来

ライ; く（る）

come, due, next, cause, become

家

カ, ケ; いえ, や

house, home, family, professional, expert, performer

神

シン; かみ

gods, mind, soul

見

ケン; みる

see, hopes, chances, idea, opinion, look at, visible

子

シ, ス; こ

child, sign of the rat, 11PM-1AM, first sign of Chinese zodiac

大

タイ, ダイ; おお（きい）

large, big

変

ヘン; か（える）, か（わる）

unusual, change, strange

喜

キ; よろこ（ぶ）

rejoice, take pleasure in

安

アン; やす（い）, やす（まる）

relax, cheap, low, quiet, rested, contented, peaceful

Words

Words

Words

Reading

Mean

太郎右衛門

たろうえもん

Taroemon (name)

赤児

あかご

baby

心配

しんぱい

worry; concern; anxiety

赤児

あかご

baby

大変

たいへん

very; greatly;serious; grave; dreadful; terrible

安心

あんしん

relief; peace of mind

しかし伊作に口止めされているので、小判の話なぞは一言ひとことも言いませんでした。

Translation

But he was forbided by Isaku to speak and he does not tell any word about golden coins.

Kanji

Kanji

Words

Reading

Mean

伊

イ

Italy, that one

作

サク, サ; つく（る）

make, production, prepare, build

口

コウ, ク; くち

mouth

止

シ; と（める）, と（まる）

stop, halt

小

ショウ; こ, ちいさい

little, small

判

ハン, ダン; わか（る）

judgement, signature, stamp, seal

話

ワ; はなし, はな（す）

tale, talk

一

イチ; ひと, ひと（つ）

one

言

ゲン, ゴン; こと, い（う）

say, word

Words

Words

Words

Reading

Mean

伊作

いさく

Isaku (name)

口止め

くちどめ

forbidding to speak; muzzling (a person); bribing into secrecy

小判

こばん

koban; small former Japanese oval gold coin

一言

いちごん, ひとこと

single word; a few words; brief comment

「もし金のことが発覚すれば、三人同罪で牢屋へ行くのだ。」と伊作は馬鹿正直な太郎右衛門に言い含めて置いたのでした。

Translation

“If anybody will know about gold, we all go to jail”, so convinced Isaku to foolishly honest Taroemon.

Because of circumstances outside one’s control throw away the boy, goo grow under wing of good man . よばぬうちに(while you not called?), なのり （to call oneself?) いづるな(not yield??), when the time comes, spring wind will not blow.

Tasuke at this time already had little watermill at the end of village but each day went to Isaku store, drank and ate dry fish, but did not pay by bills, that became a reason why they fight all the time.

Kanji

Kanji

Words

Reading

Mean

多

タ; おお（い）

many, frequent, much

助

ジョ; たす（ける）

help, rescue, assist

頃

ケイ; ころ, ごろ

time, about, toward

村

ソン; むら

village

端

タン; はし, はた

edge, origin, end, point, border, verge, cape

小

ショウ; こ, ちいさい

little, small

水

スイ; みず

water

車

シャ; くるま

car; wheel

屋

オク; や

roof, house, shop, dealer, seller

持

ジ; も（つ）

hold, have

毎

マイ; ごと

every

日

ニチ, ジツ; ひ, か

day, sun, Japan, counter for days

伊

イ

Italy, that one

作

サク, サ; つく（る）

make, production, prepare, build

店

テン; みせ

store, shop

寄

キ; よ（る）, よ（せる）

draw near, stop in, bring near, gather, collect, send, forward

酒

シュ; さけ

sake, alcohol

飲

イン; の（む）

drink, smoke, take

干

カン; ほ（す）, ひ（る）

<

dry, parch, ebb, recede, interfere, intercede

魚

ギョ; うお, さかな

fish

食

ショク; た（べる）, く（う）

eat, food

少

ショウ; すこ（し）, すく（ない）

few, little

勘

カン

intuition, perception, check, compare, sixth sense

定

テイ, ジョウ; さだ（める）

determine, fix, establish, decide

払

ふつ; はら（う）

pay, clear out, prune, banish, dispose of

土

ド, ト; つち

soil, earth, ground

台

ダイ, タイ

pedestal, a stand, counter for machines and vehicles

二

ニ; ふた（つ）

two

人

ジン, ニン; ひと

person

喧

ケン; やかま（しい）

noisy, boisterous

嘩

カ

noisy

Words

Words

Words

Reading

Mean

多助

たすけ

Tasuke (name)

水車小屋

すいしゃごや

water mill

毎日

まいにち

every day

伊作

いさく

Isaku (name)

干魚

かんぎょ

dried fish; stockfish

勘定

かんじょう

bill; check; account; payment (of a bill); settlement (of an account)

土台

どだい

<

foundation; base; basis

二人

ふたり

two persons; two people; pair; couple

喧嘩

けんか

quarrel; brawl; fight; squabble; scuffle; argument

二人は喧嘩をしたかと思うと仲直りをし、仲直りをしたかと思うと、また喧嘩をしました。

Translation

When you think that they will fight, they make peace, just think that they make peace with each other, they again fight.

Kanji

Kanji

Words

Reading

Mean

二

ニ; ふた（つ）

two

人

ジン, ニン; ひと

person

喧

ケン; やかま（しい）

noisy, boisterous

嘩

カ

noisy

思

シ; おも（う）

think

仲

チュウ; なか

go-between, relationship

直

チョク, ジキ; なお（る）, なお（す）

straightaway, honesty, frankness, fix, repair

Words

Words

Words

Reading

Mean

二人

ふたり

two persons; two people; pair; couple

喧嘩

けんか

quarrel; brawl; fight; squabble; scuffle; argument

仲直り

なかなおり

reconciliation; make peace with

喧嘩

けんか

quarrel; brawl; fight; squabble; scuffle; argument

村の人たちには、どうしてあんなに仲の好よかった伊作と多助が、こんな喧嘩をするようになったのか誰も知りませんでした。

Translation

Nobody from the village people did not know why so good friends like Isaku and Tasuke bagan to quarell.

Kanji

Kanji

Words

Reading

Mean

村

ソン; むら

village

人

ジン, ニン; ひと

person

仲

チュウ; なか

go-between, relationship

好

コウ; す（く）, この（む）

fond, pleasing, like something

伊

イ

Italy, that one

作

サク, サ; つく（る）

make, production, prepare, build

多

タ; おお（い）

many, frequent, much

助

ジョ; たす（ける）

help, rescue, assist

喧

ケン; やかま（しい）

noisy, boisterous

嘩

カ

noisy

誰

スイ; だれ

who, someone, somebody

知

チ; し（る）

know, wisdom

Words

Words

Words

Reading

Mean

伊作

いさく

Isaku (name)

多助

たすけ

Tasuke (name)

喧嘩

けんか

quarrel; brawl; fight; squabble; scuffle; argument

朝太郎が四歳になった秋の初めに、城下から代官様が大勢の家来に空駕籠からかごを護まもらせて、この淋しい村へやって来ました。

Translation

Ine the beginning of autumn, when Asataro has been four year, in this desolated village from the castle arrived prefectural governor with many servants which protected empty palanquin.

“You see”, said Chozaemon with fear looking at the face of prefectural governor, “for some reason this child was picked up by Taroemon and he is raised him…”
When he tell this, prefectural governor very seriously said: “I already know this and came to you to talk. In truth this child Asataro is heir of of our lord Yoshimitsu. You must be surprised. Because little mistake of our lord this child got in the hands of scoundrels, was caught in such situation where he must die and after many troubles, said, was dropped deep in the montains, where he was picked up by honest peasants, that is raising him. The proof of it must be in the posession of picked up human (perhaps it is about note and wealth clothes). In any case i want as much faster show him to Yoshimitsu-dono.”

Village headman Chozaemon for the first time realizing circumstances immediatly went to the Toraemon, took paper (perhaps it is about note that was together with baby) near home shrine and together with Toraemon and Asataro came before prefectural governor

In the evening of this day take a moment when sun was nearing sunset Asataro of the Yoshimitsu-dono was sit in the great palanquin with round famuly crest – peony and moved in the direction of the castle.

“What a happy story. Your Asataro perhaps became a feudal lord”, said village headman Chozaemon to Toraemon when palanquin disappeared from sight, in the eyes of Toraemon accumulated tears.

Taroemon answer in this sentence difficult and we must invesitgate it.
後生 paerhaps 後生一生の頼み「ごしょういっしょうのたのみ」 extremely important or once in a lifetime request
だわで is なので or だから so; therefore; because; as; since
さ is に or へ in touhoku 東北語の助詞【さ】は、日本語の「に、へ」に該当します。
ように in order to (e.g. meet goal); so that; take care (so as)
言ってやってくれ kure – request! yaru – for amplification
https://kotobank.jp/word/%E3%81%B9%E3%81%84-623779 (дата посещения 2016.18.03)べいbei was popular in middle ages and now is in Kanto, it can mean:
1 quess, like だろう
2 wish, like しよう
3 encouage partner to action (相手の動作を勧誘する意を表す)
also as particle (not end particle):
1 show quantity, like ほど or くらい
2 when attached to noun it mean limit like だけ

Then:
“Yeah, happy…mr. village headman, beg you, tell him, that if him dont like feudal lord, then at any time without scruple will return to home!”, answer he, and tears flow without stop.(I don’t understand, why he dont said this himself? And why can’t do it and ask village headman?)

Sometimes you can forgot, that Putty store sessions data not in configuration file, but in MS Windows Registry. So, to keep your sessions after OS reinstall or if you want move sessions data to another PC, we need move that data. How it can be done?

This is time to write about Japanese language. Many people talked about it, for example Tae Kim or Khatzumoto. More detailed information about learning Japanese you can read on these sites.

I will only summarize.

Japanese language not hard, you need to know only more than two thousand hieroglyphs (so called kanji) and more than fifteen thousand words, then reading and listening will be quite easy – you will can understand more then 80% of information. However, it depends on data, If you will read only science fiction and then began to read detective story – you will be surprised by big amount of new words.

To learn how to read Japanese you must read Japanese. First it will be very slow and difficult, but with time your vocabulary will grow and reading will be simpler. Besides books, also recommend to play in Japanese games, many of them have voiceover and there you can gain many words and kanji, moreover you will know their pronunciation.

For understanding Japanese speaking you must watch Japanese movies, anime ot news, but you must like what you do. At first it will be impossible to understand them, but do not despair, the essentials is listen foreign speech. At first you will hear only gibberish, but with time you will recognize familiar words. Do you must use dictionary when meet new word? If you wish – do it, if not – you can skip it and turn to dictionary only when meet word several times.

In the beginning of learning don’t need to concentrate on grammar. You can gain basic grammar in any book and rest you gain while reading or listening.

Some advices:

Encountered words you can write to note, but better write it in text file (at least you will be able read it later), and then transfer them in program for words learning, for example anki. If your goal is to learn as faster as possible read and understand speech, then handwriting will slow down you in learning words and kanji, the slower you increase your vocabulary, so much the worse you understand text and speech. You can do handwriting only when decide to take 漢字検定, or if you like it.

You can search new kanji by pronunciation (if you heard it, or understand it pronunciation) or search by keys. Search by keys is contains in many e-dictinoary, for example jisho.org, you must select keys, which is part of your kanji, and you get list of kanji that contains these keys, then you select your kanji from the list.