Make easier to cut-n-paste
This commit is contained in:
parent
d33d38e768
commit
f49687256d
|
@ -35,11 +35,11 @@ $ awesome-client 'return 1+1, "Hello, world"'
|
||||||
# Das folgende Beispiel erzeugt keine Ausgabe auf der Kommandozeile,
|
# Das folgende Beispiel erzeugt keine Ausgabe auf der Kommandozeile,
|
||||||
# sondern zeigt eine Benachrichtigung an.
|
# sondern zeigt eine Benachrichtigung an.
|
||||||
$ awesome-client '
|
$ awesome-client '
|
||||||
> naughty = require("naughty")
|
naughty = require("naughty")
|
||||||
> naughty.notify({
|
naughty.notify({
|
||||||
> title="CLI-Benachrichtigung",
|
title="CLI-Benachrichtigung",
|
||||||
> text="Dies ist eine Benachrichtigung von der Kommandozeile!"})
|
text="Dies ist eine Benachrichtigung von der Kommandozeile!"})
|
||||||
> '
|
'
|
||||||
|
|
||||||
# Starte eine lesen-ausführen-ausgeben-Schleife (REPL).
|
# Starte eine lesen-ausführen-ausgeben-Schleife (REPL).
|
||||||
# In diesem Modus wird jede Zeile zu awesome geschickt; auf die selbe Art
|
# In diesem Modus wird jede Zeile zu awesome geschickt; auf die selbe Art
|
||||||
|
|
|
@ -38,11 +38,11 @@ $ awesome-client 'return 1+1, "Hello, world"'
|
||||||
# The following does not return anything on the command line,
|
# The following does not return anything on the command line,
|
||||||
# but will show a notification.
|
# but will show a notification.
|
||||||
$ awesome-client '
|
$ awesome-client '
|
||||||
> naughty = require("naughty")
|
naughty = require("naughty")
|
||||||
> naughty.notify({
|
naughty.notify({
|
||||||
> title="CLI Notification",
|
title="CLI Notification",
|
||||||
> text="This is a notification sent from the command line!"})
|
text="This is a notification sent from the command line!"})
|
||||||
> '
|
'
|
||||||
|
|
||||||
# Entering read-eval-print-loop mode
|
# Entering read-eval-print-loop mode
|
||||||
# This mode will send every line to awesome, exactly the same as passing
|
# This mode will send every line to awesome, exactly the same as passing
|
||||||
|
|
|
@ -35,11 +35,11 @@ $ awesome-client 'return 1+1, "Hello, world"'
|
||||||
# The following does not return anything on the command line,
|
# The following does not return anything on the command line,
|
||||||
# but will show a notification.
|
# but will show a notification.
|
||||||
$ awesome-client '
|
$ awesome-client '
|
||||||
> naughty = require("naughty")
|
naughty = require("naughty")
|
||||||
> naughty.notify({
|
naughty.notify({
|
||||||
> title="CLI Notification",
|
title="CLI Notification",
|
||||||
> text="This is a notification sent from the command line!"})
|
text="This is a notification sent from the command line!"})
|
||||||
> '
|
'
|
||||||
|
|
||||||
# Entering read-eval-print-loop mode
|
# Entering read-eval-print-loop mode
|
||||||
# This mode will send every line to awesome, exactly the same as passing
|
# This mode will send every line to awesome, exactly the same as passing
|
||||||
|
|
|
@ -38,11 +38,11 @@ $ awesome-client 'return 1+1, "Hello, world"'
|
||||||
# The following does not return anything on the command line,
|
# The following does not return anything on the command line,
|
||||||
# but will show a notification.
|
# but will show a notification.
|
||||||
$ awesome-client '
|
$ awesome-client '
|
||||||
> naughty = require("naughty")
|
naughty = require("naughty")
|
||||||
> naughty.notify({
|
naughty.notify({
|
||||||
> title="CLI Notification",
|
title="CLI Notification",
|
||||||
> text="This is a notification sent from the command line!"})
|
text="This is a notification sent from the command line!"})
|
||||||
> '
|
'
|
||||||
|
|
||||||
# Entering read-eval-print-loop mode
|
# Entering read-eval-print-loop mode
|
||||||
# This mode will send every line to awesome, exactly the same as passing
|
# This mode will send every line to awesome, exactly the same as passing
|
||||||
|
|
|
@ -37,11 +37,11 @@ $ awesome-client 'return 1+1, "Hello, world"'
|
||||||
# Следующий пример не возвращает ничего в командную строку,
|
# Следующий пример не возвращает ничего в командную строку,
|
||||||
# но показывает уведомление.
|
# но показывает уведомление.
|
||||||
$ awesome-client '
|
$ awesome-client '
|
||||||
> naughty = require("naughty")
|
naughty = require("naughty")
|
||||||
> naughty.notify({
|
naughty.notify({
|
||||||
> title="CLI Notification",
|
title="CLI Notification",
|
||||||
> text="Это уведомление было отправлено из командной строки!"})
|
text="Это уведомление было отправлено из командной строки!"})
|
||||||
> '
|
'
|
||||||
|
|
||||||
# Интерактивный режим (REPL)
|
# Интерактивный режим (REPL)
|
||||||
# В данном режиме каждая строка введенная пользователем
|
# В данном режиме каждая строка введенная пользователем
|
||||||
|
|
|
@ -36,11 +36,11 @@ $ awesome-client 'return 1+1, "Hello, world"'
|
||||||
# The following does not return anything on the command line,
|
# The following does not return anything on the command line,
|
||||||
# but will show a notification.
|
# but will show a notification.
|
||||||
$ awesome-client '
|
$ awesome-client '
|
||||||
> naughty = require("naughty")
|
naughty = require("naughty")
|
||||||
> naughty.notify({
|
naughty.notify({
|
||||||
> title="CLI Notification",
|
title="CLI Notification",
|
||||||
> text="This is a notification sent from the command line!"})
|
text="This is a notification sent from the command line!"})
|
||||||
> '
|
'
|
||||||
|
|
||||||
# Entering read-eval-print-loop mode
|
# Entering read-eval-print-loop mode
|
||||||
# This mode will send every line to awesome, exactly the same as passing
|
# This mode will send every line to awesome, exactly the same as passing
|
||||||
|
|
Loading…
Reference in New Issue