hello all
i hav a script when i print it's execution in some line there is #+ in the starting and somewhere there is #++.can anyone plz tell me about these

Recommended Answers

All 3 Replies

hello all
i hav a script when i print it's execution in some line there is #+ in the starting and somewhere there is #++.can anyone plz tell me about these


Please show the script. I have no idea what you are talking about.

Are #+ and #++ in the script itself or in its output?

it is in the output before the every line
when we run the script using

sh -x filename.sh


It is the value of $PS4:

PS4    The value of this parameter is expanded as with PS1 and
       the value is printed before each command bash displays
       during an execution trace. The first character of PS4 is
       replicated multiple times, as necessary, to indicate
       multiple levels of indirection.  The default is ''+ ''.
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.