Replies: 2 comments
-
Thanks for the feedback. The check.sh script fails in this case, perhaps the last file doesn't have at least 100 lines? we'll have to review check.sh for false negatives like this one. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Actually the question said it is not checking for number of lines in the
files. So, I raised this concern
…On Mon, 25 Aug 2025 at 10:57 PM, Fernando Duran ***@***.***> wrote:
Thanks for the feedback. The check.sh
<https://github.com/SadServers/sadservers/blob/main/scenarios/minneapolis/README.md#test>
script fails in this case, perhaps the last file doesn't have at least 100
lines? we'll have to review check.sh for false negatives like this one.
—
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIVGUE7GMWDO64XYBNSG7PL3PNBOZAVCNFSM6AAAAACET4VLZOVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTIMRRGMYDINI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
admin@ip-10-1-13-179:
$ split -b 32K -d --additional-suffix=.csv data.csv data-$ lsadmin@ip-10-1-13-179:
README.txt data-00.csv data-02.csv data-04.csv data-06.csv data-08.csv data.csv
agent data-01.csv data-03.csv data-05.csv data-07.csv data-09.csv
admin@ip-10-1-13-179:~$ head -1 data.csv > header.txt
for i in {0..9}; do cat header.txt data-0$i.csv > tmp-0$i.csv && mv tmp-0$i.csv data-0$i.csv; done
I am not getting why is this solution told as incorrect
While the solution says -
for i in {0..9}; do cat header.txt data-0$i > data-0$i.csv; done
cat: data-00: No such file or directory
cat: data-01: No such file or directory
cat: data-02: No such file or directory
cat: data-03: No such file or directory
cat: data-04: No such file or directory
cat: data-05: No such file or directory
cat: data-06: No such file or directory
cat: data-07: No such file or directory
cat: data-08: No such file or directory
cat: data-09: No such file or directory
which should be incorrect ofcourse.
Need help!
Beta Was this translation helpful? Give feedback.
All reactions