Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: Argv problem

by QM (Vicar)
on Mar 04, 2013 at 09:02 UTC ( #1021610=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Argv problem
in thread Argv problem

It's probably a bad idea to let the user enter a visible password. That said, suggest that the user quote the password or escape special characters, noting that in some shells, some characters are ridiculously difficult to quote correctly.

Also search here and elsewhere. A quick search turned up Inputting a password w/o having it displayed on screen, which may help.

-QM
--
Quantum Mechanics: The dreams stuff is made of


Comment on Re^3: Argv problem
Re^4: Argv problem
by Anonymous Monk on Mar 04, 2013 at 09:35 UTC

    What is the cmd interpreting & as?

      & means "run the preceding command in the background". So, for example,
      ./myprogram username lsrkj&etk
      will attempt to first run the command ./myprogram username lsrkj as a background process and then, while that's running, also run the command etk in the foreground (probably producing the error "etk: command not found").

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021610]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (13)
As of 2014-04-16 10:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (422 votes), past polls