Search Results

Search: Posts Made By: kumariak
1,700
Posted By kumariak
ftp problem
Hi,

I am trying to ftp files from one server to another server.
On one server, I used ls -ltr command, gave me the following result:
-rw-rw-r-- 1 ediprod zedi 28844 Oct 31 07:58...
41,812
Posted By kumariak
Finding out the last modified time for files
I need to find out the last modified time for the files which are older than 6 months. If I use ls -l, the files which are older than 6 months, I am just getting the day, month and year instead of...
3,460
Posted By kumariak
Try giving semicolon ( ; ) after the closing...
Try giving semicolon ( ; ) after the closing bracket
if [ <condition> ]; then
.....
....

fi
11,561
Posted By kumariak
Thanks bakunin, But I need to use the second...
Thanks bakunin,

But I need to use the second file, for each line of the first file. And, the line from the second file will be used in come other commands like cut and grep. Can you please help...
11,561
Posted By kumariak
Read files including spaces
I am accessing two files. I am using read command to read from the files.

For the first file, I need read the fields delimited by spaces, and for the other file, I need to read the whole line as...
21,152
Posted By kumariak
I am using EDI data. I have made few changes...
I am using EDI data. I have made few changes according to my requirements to the sed command given bakunin.

I use Gentran Software to deal with EDI data.
21,152
Posted By kumariak
Thanks Vino, I have tried using /usr/bin/awk...
Thanks Vino,
I have tried using /usr/bin/awk ........ , it did not worked.

Now the awk solution is working.
21,152
Posted By kumariak
Thanks bakunin........... It worked Anyway,...
Thanks bakunin........... It worked

Anyway, can anyone suggest me the awk version on SUN OS
21,152
Posted By kumariak
Hi, Vino is getting the desired output on...
Hi,

Vino is getting the desired output on his os and shell.

I can use the delimiters like * ~ + : <

Can anyone help??
21,152
Posted By kumariak
Hi Vino, I am using SUN OS 5.8, and Korn...
Hi Vino,

I am using SUN OS 5.8, and Korn Shell.

I am not getting the desired results.
21,152
Posted By kumariak
Thanks Vino for your help My input file is...
Thanks Vino for your help

My input file is as below

ISA~00~ ~00~ ~ZZ~12345 ~ZZ~54321 GS~SH~12345 ~54321
ST~86~000000007
BSN~00~0958
DTM~011~ET
...
21,152
Posted By kumariak
Thanks Vino for your help My input file is...
Thanks Vino for your help

My input file is as below

ISA~00~ ~00~ ~ZZ~12345 ~ZZ~54321 GS~SH~12345 ~54321
ST~86~000000007
BSN~00~0958
DTM~011~ET
...
21,152
Posted By kumariak
Hi folks, None of the solutions did not...
Hi folks,

None of the solutions did not work. Can someone please help me.

My requirement was
The file has many lines. In each line, after 3 or 4 characters, there is a special character like...
21,152
Posted By kumariak
Need help to extract a string delimited by any special character
I have a string as follows
IS*blahblah
TED~blahblah
etc.
I want to list down only IS and TED

Can someone help me?
Showing results 1 to 14 of 14

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