Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: zooby
1,798
Posted By zooby
Thanks for helping out. Solution worked...
Thanks for helping out. Solution worked perfectly. Is there a way to fetch and create value from last column of 9th char if 3rd column is not "bcd",it would be better if we can add both condition in...
1,798
Posted By zooby
Thanks for the reply. Linux...
Thanks for the reply.
Linux 4.4.180-94.113-default #1 SMP Fri Dec 13 14:20:57 UTC 2019 (c6649f6) x86_64 x86_64 x86_64 GNU/Linux

I tried to fetch 3rd column using awk and cut , but having...
1,798
Posted By zooby
Creating values based on position
How i create a value by comparing the data from specific field and fetch particular character from other column.
For example i want to compare the 3rd field and fetch 4th character from last column,...
2,185
Posted By zooby
Script which i use ...
Script which i use


FNAME="\"'FDSD109.PRD.SARS.WRKS.GBLCDS'"\"
echo $FNAME
ftplog=$WHOME/output/ftp_${FILE_NAME}${FILE_SUFFIX}
(lftp -d -e "set ftp:passive-mode false; put -a ${SPOOLFILE} -o...
2,185
Posted By zooby
I have problem when executing the lftp command....
I have problem when executing the lftp command. we get correct format when echo in variable but when executing through lftp FNAME not having same formatting. i tried four different formatting...
2,185
Posted By zooby
Error with LFTP
I use below ftp command to push the file from UNIX server to Mainframe system.


(lftp -d -e "set ftp:passive-mode false; put -a ${SPOOLFILE} -o ${FNAME}; exit" -u ${id},${paswd} ${host} ) >>...
884
Posted By zooby
That worked. Thanks a lot. :)
That worked. Thanks a lot. :)
884
Posted By zooby
Thanks for your reply. I thought a script which...
Thanks for your reply.
I thought a script which reads the file line by line then check for the string at particular position then if string found do the deletion could solve this problem.
i used ...
884
Posted By zooby
Delete records by string and position
How do i delete the records when we have string "abcd" at position 21 to 24. The file is huge in size. Any help is appreciated.
Sample data given below


eiojfcdf oijjfdm ijdabcd234vffmv...
1,344
Posted By zooby
Thanks both. Above command correctly searching...
Thanks both. Above command correctly searching for BATCHNO and sorting in order, but when coping the files to folder2 the files are not copied on sequence. When writting to folder2 we should get...
1,344
Posted By zooby
Thanks for the perl script. But I am looking for...
Thanks for the perl script. But I am looking for shell programming.
1,344
Posted By zooby
Ordering batch number
Hi,

Could some one please help to order the batch number in sequence.

I will be getting bunch of files with batch number in folder1 which are not in sequence.

I need to move all files...
4,358
Posted By zooby
Perfect. Thanks...
Perfect. Thanks...
4,358
Posted By zooby
uniq is not required. We need to find the counts...
uniq is not required. We need to find the counts (occurrence of the strings based on column value for multilple files).
4,358
Posted By zooby
Thanks for your reply. Since file length is 1000...
Thanks for your reply. Since file length is 1000 i have not posted entire line. Number value exits after 213-219 also. My requirement is fetch all string from 213 to 219 position from all 300 files...
4,358
Posted By zooby
Test data (Input data): IN46236 TRE...
Test data (Input data):

IN46236 TRE 317-691-741947558020901EN1HGCM82614A0001722004HONDA ACCORD U-S- 0001-01-012011-04-112011-04-11A12345FBurd Ford, Inc.
GA30214 TRE...
4,358
Posted By zooby
Count no of occurrence of the strings based on column value
Can anyone help me to count number of occurrence of the strings based on column value. Say i have 300 files with 1000 record length from which i need to count the number of occurrence string which is...
3,590
Posted By zooby
Can anyone help me to get above result.
Can anyone help me to get above result.
3,590
Posted By zooby
Thanks for your reply. My requirement is slightly...
Thanks for your reply. My requirement is slightly different. Search for different set of string and replace with respective value with accurate field position. For example i want to search specific...
8,537
Posted By zooby
Excellent!! It gives the matching count.. can i...
Excellent!! It gives the matching count.. can i get the matching data in display?
8,537
Posted By zooby
Compare two files and get matching data
Hi,

Can anyone help me to compare two files and get the matching data... say i have file1 and file2 ... file1 has 300 unique data with that i need to match with file2 to see how may are matching.....
3,590
Posted By zooby
Search for multiple string and replace with respective values
Hi,


Can anyone help me to search for multiple strings within specified position and replace with respective string value.
For example I need to search the string from the position 11 to 20...
15,377
Posted By zooby
Thanks that works for me
Thanks that works for me
15,377
Posted By zooby
delete multiple lines by line number
I have file with 10000 records and i need to delete the lines in single shot based on line number range say from 10 to 51 , 53 to 59 , 105 to 107, 311 to 592 etc... between range works fine for me...
2,439
Posted By zooby
Thanks for your update. Could you please explain...
Thanks for your update. Could you please explain bit more on this cmd? While executing above cmd am getting ^ syntax error message.
Showing results 1 to 25 of 60

 

Featured Tech Videos

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