Hi.
I'm trying to convert bat file into shell script. Bat file invokes awk file in one section:
c:\upg\exe\gawk -f c:\upg\awk\gen_sae.awk -v OP=C:\\upg\\lod\\... ...c:\upg\ref\saaxi.ref c:\upg\log\SAAEPWO.log c:\upg\ref\saaepref.log
First of all I issued unix2dos command on that awk file.... (0 Replies)
Hi,
I am new shell programming and trying work on the follwoing file:
1 rs1
1 rs12
1 rs3
1 rs8
2 rs2
2 rs15
2 rs3
3 rs5
3 rs9
3 rs4
I would like to sort my 2nd column within 1, 2, and 3 separately. The output will be:
1 rs1
1 rs3
1 rs8
1 rs12 (4 Replies)
Hi gurus,
I have a file in unix with ascii values. I need to convert all the ascii values in the file to ascii characters. File contains nearly 20000 records with ascii values. (10 Replies)
sir... am having a data file of customer master., containing some important fields as a set one line after another.,
what i want is to have one set of these fields(rows) one after another in line.........then the second set... and so on... till the last set completed.
... (0 Replies)
Good morning all. I have been running into a problem running a simple gawk script that selects every third line from an input file and writes it to an output file.
gawk "NR%3==0" FileIn > FileOut
I am attempting to run this command from a batch file at the command line. I have several hundred... (6 Replies)
Hi-
How can I make the temporary file 0 byte , created inside gawk.
I am using
system("rm -f temp_orders");
It seems system command is deleting file permanently and I am not able to execute below statement.
print ORD_HEAD_FULL >> cFILE; (cFile is temp_orders) (2 Replies)
Hi,
Request your help in getting help with the below text formatting using awk. I am still learning awk and your help here is appreciated. Thanks in advance.
Desireoutput
----------------
Virtual Pool Destination Profile Profile Profile Profile
1. virtual-1 pool-1 212.254.110.174:https... (2 Replies)
Hi Folks,
While transferring file from FTP software like Filezilla the files gets corrupted.
Is there any way I can check if the recently transferred file is in ASCII and not corrupted. I have tried using file -i filename command which does tell if the file character set is ASCII or binary... (6 Replies)
Hi All,
I have an ascii file in which few columns are having hex values which i need to convert into ascii. Kindly suggest me what command can be used in unix shell scripting?
Thanks in Advance (2 Replies)