Search Results

Search: Posts Made By: Linnnnn
2,692
Posted By Linnnnn
Thanks for the reply again. I still cannot get it...
Thanks for the reply again. I still cannot get it to work (I'm using tcsh by the way). Why do you add another ls -1?

I tried this:

set foo = $(ls -1 | head -1)
echo $foo

and

set foo =...
2,692
Posted By Linnnnn
That sounds good, but how do I now input the...
That sounds good, but how do I now input the output of this to a new command? I can only input the name of the file to the command (it is a custom-made medical imaging command)...
2,692
Posted By Linnnnn
Using any file in folder as command input
Hi all,

I have a command I need to run on a large number of folders. It needs only one input, namely one of the 150 files in the folder (doesn't matter which one):
command filenameThe problem is...
Showing results 1 to 3 of 3

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