Search Results

Search: Posts Made By: nolo41
1,856
Posted By nolo41
Comparing 2 UNIX directories
Hello,

I'd want to compare the content of 2 directories in unix.
I use the diff command like this:

diff /home/user/AAAAA /home/user/BBBBB

It works fine, but when a same file is...
2,276
Posted By nolo41
Thanks! I will use cut -c5-6,24-25 file ...
Thanks!
I will use
cut -c5-6,24-25 file

and for

"FF" "BB" ?

I need to add a constant in the beginning too.

thanks
2,276
Posted By nolo41
Extract a substring from a file
Hello,
A question please.
A have a file that contains a string. Ex:
AAAABBCCCCCDDEEEEEEEEEEFF
I'd want to recover 2 substrings, 'BB' and 'FF' and then leave them in a new file.
From position 5,...
1,732
Posted By nolo41
From position 5, 2 caracters (ex:"BB") and from...
From position 5, 2 caracters (ex:"BB") and from position 25, 2 caracters (ex:"FF") in a file.
Thanks in advance
1,732
Posted By nolo41
Extract substring in a file
Hello,

A question please.

A have a file that contains a string. Ex:
AAAABBCCCCCDDEEEEEEEEEEFF

I'd want to recover 2 substrings, 'BB' and 'FF' and then leave them in a new file.
...
1,385
Posted By nolo41
Great! Thanks Ikaro0 ! Best regards
Great! Thanks Ikaro0 !
Best regards
1,385
Posted By nolo41
Thanks Ikaro0, I got no error. As you told...
Thanks Ikaro0,

I got no error. As you told me, the null file is created and it discards any data writen in it. It is empty.

However, I am looking for an output without creating any file. Is...
1,385
Posted By nolo41
Thanks Ikaro0, I tried but same issue. I got a...
Thanks Ikaro0,
I tried but same issue. I got a file called 'null'.

I want to send my file to nowhere. Actually, I use in the script an export statement that puts the output to a given address....
1,385
Posted By nolo41
Assign nothing to a file in the script
Hello everybody,

In Mainframe, when I want to assign nothing to an output file created by a cobol program in a JCL, I do:

CUSTOMER DD DUMMY.

How can I do this in my script unix ?
...
Showing results 1 to 9 of 9

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