@dewomser

a=$(history 2 | head -n 1 | \grep -E -o [a-z].*.); $a

???

@dewomser BTW: Wofür ist '\' ?? Reicht nicht auch:

a=$(history 2 | head -n 1 | grep -E -o [a-z].*.); $a

oder sollte das

a=$(history 2 | head -n 1 | \
grep -E -o [a-z].*.); $a

mit Zeilenumbruch sein und ist in eine Zeile gerutscht?

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml