Welcome, Guest. Please login or register.

Author Topic: question about PIPE and _mchar  (Read 1298 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: question about PIPE and _mchar
« on: October 15, 2005, 04:14:29 PM »
You can't use ';', it's the comment char (rest of the line is ignored).

Personally I use _mchar of "&&".
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: question about PIPE and _mchar
« Reply #1 on: October 15, 2005, 04:38:57 PM »
Code: [Select]
echo yes ; this is a comment you can't see
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: question about PIPE and _mchar
« Reply #2 on: October 15, 2005, 08:16:50 PM »
Comments are optional. Usually they're used in scripts to explain function of the script.

Functionally
Code: [Select]
echo comments are optional ; they really are
does exactly the same as:
Code: [Select]
echo comments are optional