Search Results

Search: Posts Made By: Wernfried
1,167
Posted By Wernfried
Same result: ./File Number_2 ./File ...
Same result:

./File
Number_2
./File
Number_1


Best Regards

---------- Post updated at 11:25 ---------- Previous update was at 10:40 ----------

I found a working solution:

for f in...
1,167
Posted By Wernfried
Process files in loop which have spaces in name
I have a folder with files and I have to process them in a loop. However the filenames have space characters, so the list get split.


$ touch "File Number_1"
$ touch "File Number_2"
$ ls...
1,218
Posted By Wernfried
Array operators
Hi

Lets say I have two arrays:
VAR_1 = "File_A" "File_B" "File_C" "File_D"
VAR_2 = "File_A" "File_D"

Is there a simple command to get the difference of these list, i.e.
VAR_1_2 = "File_B"...
13,773
Posted By Wernfried
Suppress "No such file or directory" in ls
Hi

In csh I like to do something like this:if ( `ls /tmp/foo*.xml | wc -l` ) echo "Files found"

If no files exist I get an error "No such file or directory". I know how to get rid of this...
Showing results 1 to 4 of 4

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