Search Results

Search: Posts Made By: violin
8,515
Posted By violin
Because I already have a tcsh file that does what...
Because I already have a tcsh file that does what I need and outputs a text file with the mean and stdev numbers. Now all I am trying to do is add a line or two at the very end so when I concatenate...
8,515
Posted By violin
okay thanks. Now the first line works set...
okay thanks. Now the first line works

set mean = `awk '{ print $1}' $roi.$sid.$task.1D`

but this one does not-
echo $mean $id > mean.$id.txt
it just prints the id in the output file.
8,515
Posted By violin
I tried the backticks-- mean=`awk '{ print...
I tried the backticks--

mean=`awk '{ print $1}' data.txt`
echo $mean $id > mean.txt

but now it says
mean=0.067762: Command not found.
mean: Undefined variable.

also tried
set mean=`awk...
8,515
Posted By violin
Tcsh command for assigning output of awk to variable
Hi I have a text file with 2 values and I am trying to assign each value to a variable and then write those to text files.

So if the textfile is data.txt with 2 values x and y

I want to assign...
Showing results 1 to 4 of 4

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