Skip to main content
Notice removed Draw attention by CommunityBot
Bounty Ended with no winning answer by CommunityBot
Tweeted twitter.com/StackCodeReview/status/775307458285830144
Notice added Draw attention by misha
Bounty Started worth 50 reputation by misha
added 9 characters in body
Source Link
misha
  • 297
  • 4
  • 14

I would like you to take a look at this simple script I wrote that's supposed to emulate the Unix sort [FILE] | uniq -cd command. What's different about my script though is that it also lists line numbers telling the user where occurrences of duplicate lines are located in the file. Please, tell me what you think as well as what parts of the script, if any, you think I should rework to make it better.

I would like you to take a look at this simple script I wrote that's supposed to emulate the Unix sort [FILE] | uniq -cd command. What's different about my script though is that it also lists line numbers telling the user where occurrences of duplicate lines are located in the file. Please, tell me what you think as well as what parts of the script you think I should rework to make it better.

I would like you to take a look at this simple script I wrote that's supposed to emulate the Unix sort [FILE] | uniq -cd command. What's different about my script though is that it also lists line numbers telling the user where occurrences of duplicate lines are located in the file. Please, tell me what you think as well as what parts of the script, if any, you think I should rework to make it better.

[Edit removed during grace period]
Source Link
misha
  • 297
  • 4
  • 14
edited body
Source Link
misha
  • 297
  • 4
  • 14

I would like you to take a look at this simple script I wrote that's supposed to emulate the Unix sort [FILE] | uniq -cd command. What's different about my script though is that it also lists number linesline numbers telling the user where occurrences of duplicate lines are located in the file. Please, tell me what you think as well as what parts of the script you think I should rework to make it better.

I would like you to take a look at this simple script I wrote that's supposed to emulate the Unix sort [FILE] | uniq -cd command. What's different about my script though is that it also lists number lines telling the user where occurrences of duplicate lines are located in the file. Please, tell me what you think as well as what parts of the script you think I should rework to make it better.

I would like you to take a look at this simple script I wrote that's supposed to emulate the Unix sort [FILE] | uniq -cd command. What's different about my script though is that it also lists line numbers telling the user where occurrences of duplicate lines are located in the file. Please, tell me what you think as well as what parts of the script you think I should rework to make it better.

added 31 characters in body
Source Link
misha
  • 297
  • 4
  • 14
Loading
added 106 characters in body
Source Link
misha
  • 297
  • 4
  • 14
Loading
added 17 characters in body
Source Link
misha
  • 297
  • 4
  • 14
Loading
added 268 characters in body
Source Link
misha
  • 297
  • 4
  • 14
Loading
Source Link
misha
  • 297
  • 4
  • 14
Loading