@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
mit Zeilenumbruch sein und ist in eine Zeile gerutscht?
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)
@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?