View Single Post
Old 09-12-2022, 02:23 PM   #38
pzack
Connoisseur
pzack began at the beginning.
 
Posts: 79
Karma: 10
Join Date: Aug 2022
Device: kobo sage,elipsa
Dear Sarmat89,

I just did what you suggested and I got this in linux terminal:

k**~**Documents**perl -pe 's/\n\n+/\|\|/sg' <grand.txt> output1.txt
bash: output1.txt: Is a directory

Now output1.txt is seen as a directory.

The txt files are in my Documents directory and I did a cd Documents so that I am in this directory when I entered the code.

Can you pinpoint the problem?

cordially,
pz

Last edited by pzack; 09-12-2022 at 02:31 PM.
pzack is offline