321 chat sed
However, as @Digital Trauma pointed out we can supply more than one delimiter which will be used sequentially.
So @Digital Trauma's solution is more elegant than mine since it completely avoids additional temporary files.
All you have to do is answer a couple of simple questions and you’re ready to go.
Learn more about Google Drive attachment sharing settings.
Stack Exchange network consists of 173 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange Note that except for the additional code in attempt 2, all the code actually does the opposite of what OP asked.
Make a dummy directory (I usually call it ), copy some sample files into the junk directory, change directory into the junk directory, and test your script on those files.
Since they're copies, there's no harm done if something goes wrong.