|
Post by AnthroHeart on May 27, 2021 23:08:50 GMT
SInce -h8 tries to escape the Universe according to you, I might as well wait. A quick web search and a test, gave me this. Easy Peasy. This will write the -h7 hash value to the file P0, 5 times: for n in {1..5}; do echo "b52df8190283cc4829e454bb7a7986a95db9a7c58d21db7ecca57187a1df1cc9" >> P0; done
This is run in a Linux terminal. There may be an equivalent for Windows. reden were you able to write 10M lines using this? And if so, how long did it take?
|
|
|
Post by reden on May 27, 2021 23:28:33 GMT
A quick web search and a test, gave me this. Easy Peasy. This will write the -h7 hash value to the file P0, 5 times: for n in {1..5}; do echo "b52df8190283cc4829e454bb7a7986a95db9a7c58d21db7ecca57187a1df1cc9" >> P0; done
This is run in a Linux terminal. There may be an equivalent for Windows. reden were you able to write 10M lines using this? And if so, how long did it take? I just did. Time says the following: real 2m55.432s user 2m0.432s sys 0m53.920s Vim seems faster.
|
|
|
Post by reden on May 27, 2021 23:29:14 GMT
SInce -h8 tries to escape the Universe according to you, I might as well wait. A quick web search and a test, gave me this. Easy Peasy. This will write the -h7 hash value to the file P0, 5 times: for n in {1..5}; do echo "b52df8190283cc4829e454bb7a7986a95db9a7c58d21db7ecca57187a1df1cc9" >> P0; done
This is run in a Linux terminal. There may be an equivalent for Windows.Windows has "for" and "echo".
|
|
|
Post by AnthroHeart on May 27, 2021 23:40:29 GMT
reden were you able to write 10M lines using this? And if so, how long did it take? I just did. Time says the following: real 2m55.432s user 2m0.432s sys 0m53.920s Vim seems faster. Ok, so you start it, go get some coffee, and come back and it's done. Or do it manually with vim with hiccups. I like the ease, even if it takes a couple of minutes. But whatever you're comfortable with. I like that it's effortless. I usually use nano for my editor.
|
|
|
Post by reden on May 28, 2021 0:00:26 GMT
Through the echo way, it might be possible to even create a fully automated script.
|
|
|
Post by AnthroHeart on May 28, 2021 0:19:02 GMT
Through the echo way, it might be possible to even create a fully automated script. Cool.
|
|
|
Post by AnthroHeart on May 28, 2021 0:19:47 GMT
Through the echo way, it might be possible to even create a fully automated script. Yeah, you could make a bash script that would take user input and do it.
|
|