InterviewSolution
| 1. |
How Can We Use Command Output To Set Values? |
|
Answer» Values of a variable for a .set or .subset command can be generated by sending a command to the SERVER’s command INTERPRETER. To use this command within the dot command, we should ENCLOSE the command in back TICK characters. For example: the command: .set env SETUP Group “Perler=`perl –version`” sets the variable Perler to the output of the Perl –version command. Values of a variable for a .set or .subset command can be generated by sending a command to the server’s command interpreter. To use this command within the dot command, we should enclose the command in back tick characters. For example: the command: .set env Setup Group “Perler=`perl –version`” sets the variable Perler to the output of the Perl –version command. |
|