Search Results

Search: Posts Made By: newpromo
3,206
Posted By newpromo
the command did 90% of the job, but it displays...
the command did 90% of the job, but it displays some lines that are in file2 but not present in file1.


$ cat file1
10 1111
20 1112
30 1113
40 1114
60 1116


$ cat file2
2 1111
4...
3,206
Posted By newpromo
Thank you for your reply, but it does not fullfil...
Thank you for your reply, but it does not fullfil the need.

Here is my exp :


$ cat file1
3 22
4 33
6 77
$




$ cat file2
1 22
5 77
$
3,206
Posted By newpromo
Compare contents of two files
Hello,

I have two files containing both two columns:

$ cat file1
col1 nbr1
col2 nbr2
col3 nbr3
...

$ cat file2
val1 ri1
val2 ri2
val3 ri3
...

I need to compare every nbr...
1,671
Posted By newpromo
extracting columns from 2 files
Hello,

I have 2 files file1 & file2

[File1 content] =
a1 b1
a2 b2
a3 b3
...

[File2 content] =
c1 d1
c2 d2
c3 d3
...

I need to compare if b(i)=c(j) . i,j=1,2,3,4,...

If yes,...
1,847
Posted By newpromo
Thank you, it's working
Thank you, it's working
1,847
Posted By newpromo
Put the difference of two files in out file
Hello,

I have two files file1 & file2 containing both lines (1 word per line). I need to extract the lines that are in file1 and not present in file2 and have the result in output file.

i.e : ...
1,528
Posted By newpromo
Delete file
Hello,

I need to read files from /dest directory and delete those files that are not present in /origin directory.

i.e :

1/ Read files from /dest directory
2/ If the read files don't exist...
Forum: Solaris 12-02-2009
5,619
Posted By newpromo
Thanks, I'm still having one question plz : ...
Thanks,

I'm still having one question plz :

Does it exist this notion of alias for files like for commands ? In other words, can we create alias for file like for we used to do for command with...
Forum: Solaris 12-01-2009
5,619
Posted By newpromo
Thx for ur reply but let me be more precise. ...
Thx for ur reply but let me be more precise.

I have some files : file1, file2, file3, ... fileN in /origin directory. I need to create alias in /tmp directory : alias_file1, alias_file2, ......
Forum: Solaris 12-01-2009
5,619
Posted By newpromo
Creating Alias for FILE
Hello,


I need the command to create alias for a file "FILE" (NOT for commands) ? And Is there any difference between creating alias for files and creating alias for commands ?


For info, i'm...
4,046
Posted By newpromo
creating alias for files
Hello,


I need the command to create alias for a file "FILE" (NOT for commands) ? And Is there any difference between creating alias for files and creating alias for commands ?

I've tried...
3,122
Posted By newpromo
Thank you !
Thank you !
3,122
Posted By newpromo
Thank you, it's OK ! ---------- Post updated...
Thank you, it's OK !

---------- Post updated 02-10-09 at 12:19 AM ---------- Previous update was 01-10-09 at 07:29 AM ----------

Hello again,

Now i need to test if the input file "input.in"...
3,122
Posted By newpromo
check presence of input file
My script is taking a file "input.in" as input for running the script. My worry is that i need to execute the script only if the file is present, if it's not don't perform the next commands.

Just...
4,046
Posted By newpromo
In fact i tried to make my request more general...
In fact i tried to make my request more general to make it easy for you to help me, i give two exp : "20091001" by "091001" and "replace" by "place"

deleting the caracteres "20" from the word...
4,046
Posted By newpromo
Thank you, it's working !
Thank you, it's working !
4,046
Posted By newpromo
Thank you, In fact i'm trying to get time...
Thank you,

In fact i'm trying to get time 15 min ago, so i'm using this command :

feefth=`perl -e '($s,$m,$h,$J,$M,$A) = localtime(time - 15*60) and...
4,046
Posted By newpromo
Delete character from a word
Friends, I'm looking for a command that delete the first tho caractere in a word. Here is an exp :

I want to replace "20091001" by "091001"

or "replace" by "place"

Thx,
Showing results 1 to 18 of 18

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