Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Interpreters for scripting languages and suchlike often provide an option to specify one line of program on the command line itself. For Perl, this option is -e; for Python it's -c. Which of these is more common? That is, which would be less surprising from a user's viewpoint?

share|improve this question

1 Answer 1

Either one, or none. It mainly depends on the user's previous background.

You shouldn't expect either to be more intuitive - just put them plain clear in sight, and the users will adjust.

share|improve this answer
    
Yeah, but there must be an answer to which is more common, at least; it would be an unlikely coincidence if they were precisely equally common. –  rwallace Dec 2 '11 at 4:25
1  
@rwallace - How do you expect to determine that? –  ldigas Dec 2 '11 at 12:10
    
I don't know, that's why I tried asking here, hoping somebody would have some idea :) –  rwallace Dec 2 '11 at 13:06
1  
@rwallace - Sorry, I don't see how anyone could do that. –  ldigas Dec 2 '11 at 13:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.