734 B

^

Comando integrato di Bash per sostituire rapidamente una stringa nel comando precedente ed eseguirlo. Equivalente a !!:s^stringa1^stringa2. Vedi anche: !. Maggiori informazioni: https://gnu.org/software/bash/manual/bash.html#Event-Designators.

  • Esegue il comando precedente sostituendo stringa1 con stringa2:

^{{stringa1}}^{{stringa2}}

  • Rimuove stringa1 dal comando precedente:

^{{stringa1}}^

  • Sostituisce stringa1 con stringa2 nel comando precedente e aggiunge stringa3 alla fine:

^{{stringa1}}^{{stringa2}}^{{stringa3}}

  • Sostituisce tutte le occorrenze di stringa1:

^{{stringa1}}^{{stringa2}}^:g&

  • Stampa il comando sostituito senza eseguirlo:

^{{stringa1}}^{{stringa2}}^:p