I have Linux CLI and 1 txt file with a couple of hundred entries like this:
alalalala asasasaas addfsfdfd
I want to make files with text inside as:
alalalala
etc..
please advice.
|
I have Linux CLI and 1 txt file with a couple of hundred entries like this: alalalala asasasaas addfsfdfd I want to make files with text inside as: alalalala etc.. please advice. | |||||||
feedback
|
This question came from our site for professional and enthusiast programmers.
|
What names should have the generated files? How I would do it in Python:
But I must admit that the one-liner from ghostdog74 looks very nice :) | |||
|
feedback
|