Search Results

Search: Posts Made By: vidyak
Forum: Red Hat 07-09-2009
2,522
Posted By vidyak
FTP on Linux is not working as expected
Hi,

I need to write a Linux shell script which will perform an FTP operation to another server.
main.sh will contain -
ftp -nd Dest.IP.address < ftpScript.sh

Contents of ftpScript.sh is...
4,500
Posted By vidyak
Oops, I had posted one record with blank value...
Oops, I had posted one record with blank value for first field. Not sure, how it appeared different when I submitted the contents :(
Well, let me try it in different way. Below are the contents of...
4,500
Posted By vidyak
A123456 11111 B123456 22222 C123456 ...
A123456 11111
B123456 22222
C123456 33333
44444
D123456 55555

One more note, I also tried to check the length of fld1 (after trimming the contents) to write the record...
4,500
Posted By vidyak
Writing output into different files while processing file using AWK
Hi,

I am trying to do the following using AWK program.
1. Read the input data file
2. Parse the record and see if it contains errors
3. If the record contains errors, then write it into Reject...
5,259
Posted By vidyak
Thanks a lot. Instead of using Editplus to edit...
Thanks a lot. Instead of using Editplus to edit the file remotely, when I edited the file directly on Linux, it worked fine for me too. I guess, Editplus inserted some sort of carriage return when...
5,259
Posted By vidyak
Awk script in DOS and Linux behaves differently :(
Hi,

I have an awk script which performs simple operations of variable assignments and finally printing the variables in custom form.

BEGIN {FS=OFS="\n"}
{
v1=substr($0,1,15)
...
12,512
Posted By vidyak
Yes indeed, that was very well explained. Thanks...
Yes indeed, that was very well explained. Thanks a ton.
12,512
Posted By vidyak
Thanks a lot, it worked perfectly :-) But would...
Thanks a lot, it worked perfectly :-)
But would you mind explaining those complex expressions used in the snippet :(
12,512
Posted By vidyak
Hi, I have stumbled upon many awk scripts...
Hi,

I have stumbled upon many awk scripts which does merging of information from 2 files. I tried to use some of them for my task, but nothing really helped me in accomplishing my desired output...
Showing results 1 to 9 of 9

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