Top "Csh" questions

csh, or the C shell, is a command interpreter with a syntax reminiscent of the C programming language.

Ctrl-R to search backwards for shell commands in csh

I love this shortcut in borne shell, and want to find out if it is possible to simulate and/or …

shell unix csh tcsh
Csh adding strings to an array, whitespace troubles

I’m having trouble doing something basic with csh. I have a string: set newCmd = "$expansionCmd –option1 –option2 …" And I’…

arrays string shell scripting csh
Event not found csh

I have this very simple csh script. #!/bin/csh echo "Hello World!" echo "How are you today?" But I am …

csh
Generating sequential number lists in tcsh

I've been trying to find a workaround to defining lists of sequential numbers extensively in tcsh, ie. instead of doing: …

scripting shell csh tcsh
In python 2.4, how can I execute external commands with csh instead of bash?

Without using the new 2.6 subprocess module, how can I get either os.popen or os.system to execute my commands …

python shell csh tcsh
How can I get csh to source a file and then go interactive?

BRIEF how do I (1) start a new csh, (2) force it to execute a few commands that are NOT in any .…

csh
Pass arguments from csh to program, exactly as they are

I have a csh script, which is executed using "source", and passes all its arguments to a program: % alias foo …

linux csh
multi-line variable in tcsh

I want to have variable in tcsh to hold the usage info of my script, so in my script, whenever …

csh tcsh
count number of tab characters in linux

I want to count the numbers of hard tab characters in my documents in unix shell. How can I do …

bash unix csh grep
How to keep from duplicating path variable in csh

It is typical to have something like this in your cshrc file for setting the path: set path = ( . $otherpath $path ) …

path environment-variables csh path-variables