Search Results

Search: Posts Made By: new2C
36,981
Posted By new2C
$#Argv in Csh
Hello all,

Had a quick question:

In a typical csh script should inputting via stdin (i.e. set i = $< ) increase the value of $#argv ?

echo enter an value:
set val= "$<"


if($#argv ==...
5,107
Posted By new2C
Well I am new to Unix and still learning about...
Well I am new to Unix and still learning about shell programming sometimes you have to reinvent the wheel for understanding. I figured I would ask a more general question about searching through...
5,107
Posted By new2C
How would I do it without using recursion but...
How would I do it without using recursion but rather the directory stack (i.e. pushd and popd)

My psuedo code would be something like

Get reg exp or file name
search current dir against the...
5,107
Posted By new2C
How to search through directories and sub dir
Im working on a project that basically imitates the find and whereis commands. The program will take in a file name or regular expression and, starting with the current directory search downwards and...
4,222
Posted By new2C
Help with find/whereis C Shell Script
Use and complete the template provided. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:
Write a C Shell Script called "hunt" that takes a...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 06:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy