2 deleted 8 characters in body
source | link

Another sed version, based on zeppelin answer, but simpler and aligned - taking care that unicode are not always single-characters for sed. Tested with gnu sed.

sed 's/\.\.\([^ ]*\) *\(.*\)\.\./\t\2\n \1\t/'

Output:

 ↔️      left-right arrow
 ↙️      down-left arrow
 ↩️      right arrow curving left
 ↪️      left arrow curving right
 ⌚      watch
 ⌛      hourglass done
 ⌨️       keyboard

Another sed version, based on zeppelin answer, but simpler and aligned - taking care that unicode are not always single-characters for sed. Tested with gnu sed.

sed 's/\.\.\([^ ]*\) *\(.*\)\.\./\t\2\n \1\t/'

Output:

 ↔️ left-right arrow
 ↙️ down-left arrow
 ↩️ right arrow curving left
 ↪️ left arrow curving right
 ⌚  watch
 ⌛  hourglass done
 ⌨️   keyboard

Another sed version, based on zeppelin answer, but simpler and aligned - taking care that unicode are not always single-characters. Tested with gnu sed.

sed 's/\.\.\([^ ]*\) *\(.*\)\.\./\t\2\n \1\t/'

Output:

 ↔️      left-right arrow
 ↙️      down-left arrow
 ↩️      right arrow curving left
 ↪️      left arrow curving right
 ⌚      watch
 ⌛      hourglass done
 ⌨️       keyboard
1
source | link

Another sed version, based on zeppelin answer, but simpler and aligned - taking care that unicode are not always single-characters for sed. Tested with gnu sed.

sed 's/\.\.\([^ ]*\) *\(.*\)\.\./\t\2\n \1\t/'

Output:

 ↔️ left-right arrow
 ↙️ down-left arrow
 ↩️ right arrow curving left
 ↪️ left arrow curving right
 ⌚  watch
 ⌛  hourglass done
 ⌨️   keyboard