0

Ok, I may just be having a dumbass moment. If so, I apologize. It sounds like a fairly simple task, but I can't get this working:

I'd just like to be able to input a string, and place each individual letter of that string on a new line in the output file.

I've been messing around with sed for this, and despite having used it on multiple occasions for other bits and pieces, I can't get it co-operating in this instance.

Can anyone suggest a command that would achieve this?

Ideally, I'd prefer for it to be sed-based, but I'm open to alternative solutions.

Many Thanks :)

Lee
  • 85
  • 9
  • 1
    This should get you close: [Bash script: split word on each letter](https://unix.stackexchange.com/questions/253279/bash-script-split-word-on-each-letter) – steeldriver May 26 '23 at 22:03
  • @steeldriver Thank you so much. That's perfect :) – Lee May 26 '23 at 22:04

0 Answers0