Search Results

Search: Posts Made By: bigboizvince
4,841
Posted By bigboizvince
actually a new start title for each diff entry...
actually a new start title for each diff entry (sorrie not keeping it in separate files)

so what I tried to do was

x=1

while ((x<$num_lines)) ; do
sed "${x}q;d" file1 > final_file1
sed...
4,841
Posted By bigboizvince
okie got that fixed lol.. problem was the line...
okie got that fixed lol.. problem was
the line was supposed to be
"sed "${x}q;d" file1>final_file1"

after that I had to change the diff line to

"diff $file1 $file2>>final_difference"

now...
4,841
Posted By bigboizvince
okie got it, line "sed '$xq;d'...
okie got it, line
"sed '$xq;d' file1>final_file1"
should be
"sed "$xq;d" file1>final_file1"

now Im trying to do a diff of the variables and place it into a file
final_difference$x for each...
4,841
Posted By bigboizvince
diff lines from 2 files in a while loop
Okie I have two files.

file1 with input

asdf_s45
fdsa_s20
jkl_s32
lkj_s3

and file2 with input

asdf_s44
fdsa_s19
jkl_s31
lkj_s2

now I have counted the total number of lines in the...
1,712
Posted By bigboizvince
yes thank you very much this worked perfect
yes thank you very much
this worked perfect
1,712
Posted By bigboizvince
I'm new to this and would like to know what this...
I'm new to this and would like to know what this is doing
1,712
Posted By bigboizvince
altering numbers in files
I want to change a number in a file into number -1..
for instance
file_input is

fdisdlf_s35
fdjsk_s27
fsdf_s42
jkljllljkkl_s57
... etc

now i want the output to be
fdisdlf_s34
fdjsk_s26...
3,245
Posted By bigboizvince
diff file and previous version
Im trying to diff two files. The first one I will be given. The second one I must find based on previous version created.

For instance here are the files

file_1 - created 3/22/08
file_2...
3,496
Posted By bigboizvince
okie heres what i got so far in ksh 1. asks...
okie heres what i got so far in ksh

1. asks for number of days file was created...
2. "read day_ago"
3. "find . -name '*file_num_*' -mtime -$days_ago -print > File"

Now i just need to know...
3,496
Posted By bigboizvince
c shell script help with find
Okie here is my problem,

1. I have a directory with a ton of files.
2. I want to first get an input on how many days ago the files were created.
3. I will take those files and put it into...
1,515
Posted By bigboizvince
c shell scripting
I'm a beginner in UNIX and am stuck on a problem.

1. I read the input from the user

2. next I grepped the input into a text file to see if there is a match, if there is the output would be sent...
Showing results 1 to 11 of 11

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