From df0ad135f9ce17623236f47344372dacebff87ea Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Fri, 1 Jul 2022 08:21:02 +1000 Subject: [PATCH] tcsh: refresh page (#7985) --- pages/common/tcsh.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pages/common/tcsh.md b/pages/common/tcsh.md index 7554440edf..e51e7ca407 100644 --- a/pages/common/tcsh.md +++ b/pages/common/tcsh.md @@ -1,6 +1,7 @@ # tcsh > C shell with file name completion and command line editing. +> See also: `csh`. > More information: . - Start an interactive shell session: @@ -11,18 +12,18 @@ `tcsh -f` -- Execute a [c]ommand: +- Execute specific [c]ommands: -`tcsh -c "{{command}}"` +`tcsh -c "{{echo 'tcsh is executed'}}"` -- Execute a script: +- Execute a specific script: `tcsh {{path/to/script.tcsh}}` -- Check a script for syntax errors: +- Check a specific script for syntax errors: `tcsh -n {{path/to/script.tcsh}}` -- Print the version: +- Execute specific commands from stdin: -`tcsh --version` +`{{echo "echo 'tcsh is executed'"}} | tcsh`