10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have been trying to figure out an easy way to seperate a liste of 150k numbers (10 digits) in a .txt file into odd and even numbers with each of their own files, for a project at work.
I've tried Excel, but it was too much for it and it wasnt very simple. So i gave up after... (13 Replies)
Discussion started by: TranceC
2. UNIX for Dummies Questions & Answers
My first post!!
I have a files with header, something like this
and millions fo records thereafter like this.
I want to read the above file in a loop and write the lines having AMC into another... (1 Reply)
Discussion started by: amitbakre
3. Shell Programming and Scripting
I need help finding a script that will allow me to move files from one directory to another directory 10k files at a time.
I have a directory that has 100 K files in it. I need to have those 100k files broken apart to separate directories each with 10k files in them.
Here is the... (8 Replies)
Discussion started by: Geo_Bean
4. Shell Programming and Scripting
i have some file whoes contents are
i want to seperate the content following way...
filepath=... (4 Replies)
Discussion started by: AbhijitIT
5. UNIX for Dummies Questions & Answers
I am comparing files with for mismatches using fgrep but I've run into a problem.
fgrep -vf $file1 $file2 > mismatches.dat
file1 and file2 both contain file names on each line
file1 has filenames which are up to 92 characters long and contain the "$" char.
example file name:... (2 Replies)
Discussion started by: orahi001
6. Shell Programming and Scripting
So I have a text file which I want to separate into separate text files. I would use the split command but the problem here is that the text file is separated by delimiters. For example:
and some more text
So basically the first part should be... (4 Replies)
Discussion started by: eltinator
7. Shell Programming and Scripting
My goal is to send multiple files to a person based on their input. The files have similar names like:
The script is run with the filename given as arguments, such as: ./mail.sh file stuff
would... (6 Replies)
Discussion started by: earnstaf
8. Shell Programming and Scripting
I really need help to grep data and store in particular format. I am struggling to write that script .Please help me to solve this problem otherwise i will loose my job...
I have to compare 2 files and generate the staticts of the data.
First file product.dat contains 2 column . ... (4 Replies)
Discussion started by: getdpg
9. Shell Programming and Scripting
I am using
printf "%-75s%+10s %5s %1s \n" $s $z $x $y > status
It works really well, however, when I email status it is sending 10 emails when I would like it to be in one.
Is there a way to make all the output to go into one instance of a txt file. Yet still keep it 1 on each... (12 Replies)
Discussion started by: chrchcol
10. Shell Programming and Scripting
i have this sample data:
test01 --- abc-01 name1
test02 --- abc-20 name4
test03 --- abc-22 name6
i want to generate a file... (13 Replies)
Discussion started by: inquirer