[code] Storing commands

From: juh <juh+textadept.att.mailbox.org>
Date: Thu, 5 Mar 2020 13:06:39 +0100

Hi all,

sometimes I use the pipe command function to reformat the text in
different ways, eg.

awk '{gsub(/\. /,".\n");print}'

sed -e 's/\. */.\n/g' -e 's/\.$/.\n/g'

As I can't memorize these commands I am looking for a way to store them
anywhere, something like a "macro" for so.

How can I do this.

TIA
juh

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 05 Mar 2020 - 07:06:39 EST

This archive was generated by hypermail 2.2.0 : Fri 06 Mar 2020 - 06:52:41 EST