Search Results

Search: Posts Made By: zzhan
6,556
Posted By zzhan
there's only one executable with dependencies
there's only one executable with dependencies
6,556
Posted By zzhan
Shell script makefile
Is there a way to write a makefile for all the source files in a directory with a shell script?
2,836
Posted By zzhan
nevermind it's in tcsh. I got it running now....
nevermind
it's in tcsh.
I got it running now.
Thanks
2,836
Posted By zzhan
I'm running it through ssh on a vista on bash.
I'm running it through ssh on a vista on bash.
2,836
Posted By zzhan
I tried those and the terminal says: ...
I tried those and the terminal says:
n="pattern: command not found
total=0: command not found
while: expression syntax
2,836
Posted By zzhan
Yes, I tried that. I'm writing a script to...
Yes, I tried that.
I'm writing a script to count the total number of occurrences in files entered as arguments with $1 as the pattern.
Here's what I have:

#!/bin/bash

n="$1"
total=0
while...
2,836
Posted By zzhan
need help with a shell script
How do I store an argument as a string in the script?
Showing results 1 to 7 of 7

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