Search Results

Search: Posts Made By: Eve
2,517
Posted By Eve
Hi! Thank you for your help! I really didn't know...
Hi! Thank you for your help! I really didn't know that I have the necessary shells in my pc since I'm relatively unexperienced. Now that I've found them evetything works great! Solution offered in...
2,517
Posted By Eve
A reply to Don Cragun echo "PATH=$PATH" ...
A reply to Don Cragun

echo "PATH=$PATH" gives

PATH=/bin:/opt/gcc.3.3/bin:/usr/contrib/bin:/usr/X11R6/bin:/usr/local/bin:/usr/c
ontrib/win32/bin

ls /bin/*sh /usr/bin/*sh gives
...
2,517
Posted By Eve
I would like to make the question simpler - how...
I would like to make the question simpler - how to simply sort all of the files in one folder. Just like
sort >
I have 6000 files in that folder and I would like to know if it is possible to...
2,517
Posted By Eve
I don't have a file called inputfile. I tried to...
I don't have a file called inputfile. I tried to install bash to my pc but I didn't succeed, so I have no other option to use C Shell and Unix subsystems for Windows. Could somebody help me to make...
2,517
Posted By Eve
A reply to rbatte1. Yes, you have understood...
A reply to rbatte1. Yes, you have understood everything correctly. But I'm getting a error report in my C Shell window when I'm trying to use your code:

% sort -bn "$inputfile" > "z-$inputfile"...
2,517
Posted By Eve
I recieved an error report when I tried to use...
I recieved an error report when I tried to use your code:


% #! /bin/csh
#!: Command not found.
%
% foreach FILE in (*)
foreach: Words not parenthesized.
% mv "$FILE" z-"$FILE"
FILE:...
2,517
Posted By Eve
The filenames doesn't have to be sorted, only the...
The filenames doesn't have to be sorted, only the files themselves need to be sorted and after sorting add z- to the beginning of the filename. It doesn't matter which of the files are sorted first....
4,038
Posted By Eve
Thank you MadeInGermany!
Thank you MadeInGermany! Your code works really well too!
2,517
Posted By Eve
Sort all files in one folder
Could it be possible to sort all of files in a folder and add z- to the name of the sorted file?
The names of the files to be sorted before the files are sorted

AC-FOUR-136-ZEL2-ZECO-111...
4,038
Posted By Eve
Thank you RudiC!
Thank you RudiC! Everything works great! Now everything is solved for me!
4,038
Posted By Eve
a question to RudiC
Hi! Thank you for your help!
This code

awk '{CNT[$0]++; FN[$0] = FN[$0] FILENAME "-"} END {for (c in CNT) if (CNT[c]>1) {print c >> FN[c]; close (FN[c])}} ' file[123]
works really well if the...
4,038
Posted By Eve
Hi! Here are three examples of the contents...
Hi!

Here are three examples of the contents of the files:

file1
2 78 99 129 665 765
3 88 99 543 876 988
7 45 54 99 120 987
13 23 167 334 2378 8765
...
4,038
Posted By Eve
Hi! Thank you for your help! All of the...
Hi!

Thank you for your help!

All of the files in my folder are unique.

In case of this code -

awk '++cnt[$0]==2' * > outfile

I made a test with four files and with this code the...
4,038
Posted By Eve
Hi! I only need to compare file contents to find...
Hi! I only need to compare file contents to find common lines between all of the files in one folder. Could it be done with comm since all of the files are sorted? I just need that every outcome...
1,741
Posted By Eve
Sorry that I didn't reply in the right time. All...
Sorry that I didn't reply in the right time. All of the files were previously sorted. It was eventually acceptable for me in this case that the outcomes were all in one file. I could continue like...
4,038
Posted By Eve
I'm really sorry for the inconvenience caused... ...
I'm really sorry for the inconvenience caused...
This thread is my last question to you, if I can get it working I won't bother you again.
I'm using Windows 7 and Unix subsystems for Windows. I'm...
4,038
Posted By Eve
Find common lines between all of the files in one folder
Could it be possible to find common lines between all of the files in one folder? Just like comm -12 . So all of the files two at a time. I would like all of the outcomes to be written to a different...
1,741
Posted By Eve
Hi! Thank you for your help! All of the outputs...
Hi! Thank you for your help! All of the outputs are correct, but it puts all of the outputs into a one file. I hoped that all of the outputs would be in different files and that the file names would...
1,741
Posted By Eve
Find common lines with one file and with all of the files in another folder
Hi! I would like to comm -12 with one file and with all of the files in another folder that has a 100 files or more (that file is not in that folder) to find common text lines. I would like to have...
Showing results 1 to 19 of 19

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