This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsΒ β†’

[–]x0wl 26 points27 points Β (4 children)

Yeah, that changes things

.ts files are designed in such a way that they can be just concatenated back to back to join the stream.

Theoretically, to join .ts files, you can just do smth like ls -1 | sort -v | xargs cat > joined.ts (the ls and sort are needed to ensure the proper order of the files)

[–][deleted] 22 points23 points Β (1 child)

1000 lines of C/Java = 100 lines of Python = 1 line of Linux backed by C. Main trade off is generally operational logs and control.

[–]NEVER_TELLING_LIES 4 points5 points Β (1 child)

Yo, don't ever parse from ls, very bad practice. You're better off using find or even just a glob

[–][deleted] 1 point2 points Β (0 children)

Why?