List every line from a file containing specific numbers #6

Open
opened 2024-12-05 12:15:22 +00:00 by retoor · 0 comments
Owner

List every line from /tmp/financial-data.csv were an amount > 999 is mentioned.

The amounts in the text file will have this notation: 1.999,- and so on. Idea is that grep with regex will be used or smth. But everything is allowed, so if he writes a complete python script and does smth like "[line for line in lines if "." in line and "," in line] is also allowed.

List every line from /tmp/financial-data.csv were an amount > 999 is mentioned. The amounts in the text file will have this notation: 1.999,- and so on. Idea is that grep with regex will be used or smth. But everything is allowed, so if he writes a complete python script and does smth like "[line for line in lines if "." in line and "," in line] is also allowed.
Sign in to join this conversation.
No Label
test-request
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: retoor/l33t#6
No description provided.