Search Results

Search: Posts Made By: lavnayas
15,069
Posted By lavnayas
Checking the file for non-zero byte
Hi,

An 'If' clause has to be executed if file1.txt has any contents in it.

Suggest us...
1,931
Posted By lavnayas
remove unmatched values
Below is my requirement :

unmatched values should get deleted from file1

file1
A-1
B-1
C-1
D-2
E-3
F-4
file2
D
C
F
output
C-1
D-2
F-4
9,052
Posted By lavnayas
hi, thanks. It worked for me.. I have...
hi,

thanks. It worked for me..

I have to add one condition while checking for the special characters. That is if there is any comma then it should go to else part. if there is any other...
2,250
Posted By lavnayas
Remove duplicates from end of file
1/p
----
A
B
C
A
C
o/p
---
B
A
C
From input file it should remove duplicates from end without changing order
9,052
Posted By lavnayas
How to check for special character in a value
Hi,

I have a variable and to it always alphanumeric value will be assigned.

If the value has any special characters in it then in the if statement it should exit like below

if (value has...
2,996
Posted By lavnayas
thanks a lot. it worked :)
thanks a lot.

it worked :)
2,996
Posted By lavnayas
Replace exact word with blank
i have a file with the below content
file1.txt

ALERTADMIN.FIELD
ALERTADMIN.TX_ALERTS_LOG

i have another file
file2
ALERTADMIN.FIELD
ALERTADMIN.FIELD_WS
ALERTADMIN.SECTION_FIELD_WS...
Showing results 1 to 7 of 7

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