Do


Contents


Introduction and Overview

During execution of commands from scripts, it is often useful to expand system variables into their values. This allows parameters to be passed to commands which would otherwise not perform this expansion. The Do command causes this expansion (and other GSTrans-like expansions) to be performed.


*Commands


*Do

Execute a command, after passing it through GSTrans
Syntax
*Do <command>
Parameters
<command>-Command to execute
Use

This command is used to execute commands after they have been passed through the GSTrans routines. This will cause system variables, and escaped characters to be expanded to their values. Usually this is used to run commands using values of system variables, rather than the variables themselves.

Example
*Do IfConfig -e eh0 ip
Related APIs
None

Document information

Maintainer(s): RISCOS Ltd <developer@riscos.com>
History:
RevisionDateAuthorChanges
1ROLInitial version
Disclaimer:

Copyright © Pace Micro Technolgy plc, 2002.
Portions copyright © RISCOS Ltd, 2002.
Published by RISCOS Limited.
No part of this publication may be reproduced or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, or stored in any retrieval system of any nature, without the written permission of the copyright holder and the publisher, application for which shall be made to the publisher.