diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 0a39737e9..f4eef2758 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -1639,6 +1639,9 @@ Now you can run: $(@lines ls /) # ['/bin', '/etc', '/home'] + $(echo '{}' | @json head -n 1)['answer'] + # 42 + j = $(@json echo '{"answer":42}') j['answer'] # 42 @@ -1651,6 +1654,7 @@ Now you can run: y[0]['type'] # 'MESSAGE' + ------------- Aliasing is a powerful way that xonsh allows you to seamlessly interact to