Беспроводная связь с Dell Inspiron 1501

«Пункты» еще не являются абзацами, а просто длинными строками (как отмечали другие)

Нам нужно пронумеровать строки, а затем сделать их в параграфы. Для этого вы можете использовать fold. [!d1 ]

cat -b file | fold -sw 80

Это число непустых строк, вставляет его в сложение, которое удерживает ширину в 80 символов (или столбцы) и разбивает строку на пробелы.

Frederick II (German: Friedrich; 24 January 1712 – 17 August 1786) was King of Prussia from 1740 until 1786.[1] His most significant accomplishments during his reign included his military victories, his reorganization of Prussian armies, his patronage of the Arts and the Enlightenment in Prussia, and his final success against great odds in the Seven Years' War.

Frederick was the last titled King in Prussia and declared himself King of Prussia after achieving full sovereignty for all historical Prussian lands. Prussia had greatly increased its territories and became a leading military power in Europe under his rule. He became known as Frederick the Great (Friedrich der Große) and was affectionately nicknamed Der Alte Fritz ("Old Fritz") by the Prussian people.

     1  Frederick II (German: Friedrich; 24 January 1712 – 17 August 1786)
was King of Prussia from 1740 until 1786.[1] His most significant
accomplishments during his reign included his military victories, his
reorganization of Prussian armies, his patronage of the Arts and the
Enlightenment in Prussia, and his final success against great odds in the Seven
Years' War.

     2  Frederick was the last titled King in Prussia and declared himself King
of Prussia after achieving full sovereignty for all historical Prussian lands.
Prussia had greatly increased its territories and became a leading military
power in Europe under his rule. He became known as Frederick the Great
(Friedrich der Große) and was affectionately nicknamed Der Alte Fritz ("Old
Fritz") by the Prussian people.

cat

   -b, --number-nonblank
          number nonempty output lines, overrides -n

fold

   -s, --spaces
          break at spaces

   -w, --width=WIDTH
          use WIDTH columns instead of 80
5
задан 18 January 2012 в 20:38

0 ответов

Другие вопросы по тегам:

Похожие вопросы: