Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Add this tag to your question to indicate that you are new to the language of your code. This will often be taken into consideration by reviewers when assessing your code.
3
votes
Accepted
MP3 Vote Collator - Final
Just some comments:
tally_votes() and process_mp3(), why is one singular and the other plural? Same for everywhere else where single/plural are inconsistent.
file_name = file.split('.')[1] - this …
2
votes
Accepted
Program that reads 4 files and outputs contents of it into another file after formatting it
Is there any benefit in having all that inside a function, if you only have one function and all you do is call it once?
Having variables numbered, such as line1, line2, line3, line4 and all the read …
3
votes
Bash script to replace substrings in a file with strings
Your logic looks like it would break if a line had <tt>x=1</tt> <code>, it would hit the code block first and skip the tts.
You don't need as much branching structure, you could go for:
replaced=${l …