Hey anyone familiar with the linux Terminal? How do I take the output from ls and pipe it into a file with the names surrounded by ' and separated by commas and spaces? AKA turn the files into a nice set of strings I can copy into my javascript source? :/
Conversation
Notices
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Thursday, 10-May-2018 16:36:46 EDT ☭⚑ Comrade Angles ⚑☭
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Thursday, 10-May-2018 17:10:50 EDT ☭⚑ Comrade Angles ⚑☭
I was trying to do some string concat and feed these into require(), but it turns out require doesn't work with either string concat or for loops. Oops. :/
-
☭⚑ Comrade Angles ⚑☭ (angle@anticapitalist.party)'s status on Thursday, 10-May-2018 19:12:19 EDT ☭⚑ Comrade Angles ⚑☭
Yeah, but it doesn't do exactly what I need and I don;t know how to modify it. :/
-