Quote {id} placeholders in examples (issue #8101)

Shell {} expressions require quoting
This commit is contained in:
Bruno Postle
2026-05-24 20:25:23 +01:00
committed by Thomas Krijnen
parent 9df91d668b
commit 8013fd5902
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -189,7 +189,7 @@ each JSON object. The model is opened once and saved once regardless of how
many elements are processed.
```bash
ifcquery model.ifc select 'IfcWindow' | ifcedit foreach model.ifc root.remove_product --product {id}
ifcquery model.ifc select 'IfcWindow' | ifcedit foreach model.ifc root.remove_product --product '{id}'
```
```json
@@ -201,7 +201,7 @@ Placeholder tokens match the fields emitted by `ifcquery` — typically `{id}`,
```bash
ifcquery model.ifc select 'IfcDoor' | ifcedit foreach model.ifc attribute.edit_attributes \
--product {id} --attributes '{"Name": "Door"}'
--product '{id}' --attributes '{"Name": "Door"}'
```
**Options:**
@@ -297,7 +297,7 @@ ifcedit run model.ifc spatial.unassign_container \
--products "$(ifcquery model.ifc --format ids select 'IfcWall')"
# Fan-out — one operation per element, model opened and saved once
ifcquery model.ifc select 'IfcWindow' | ifcedit foreach model.ifc root.remove_product --product {id}
ifcquery model.ifc select 'IfcWindow' | ifcedit foreach model.ifc root.remove_product --product '{id}'
```
## License