Thanks radoulov & raj_saini20,
There is some change in requirement: I think raj's code is bit simpler for me.. could you please help me out for the below
Code:
KGO
Id "003"
..........
..........
Par "CPara"
BIN RECGET
Name "DIR_PATH"
Prompt "DIR_PATH"
END RECGET
BIN RECGET
Name "DB_SID"
Prompt "ENTER DB SID NAME"
END RECGET
...........
..............
KGO
............
..........
...............
KGO
Id "077"
..........
..........
Par "CPara"
BIN RECGET
Name "FILE"
Prompt "Enter File"
END RECGET
KGO
.........
..........
..........
Outputshoulde be:
Code:
Id,Name,Prompt
003,DIR_PATH,Enter DIR_PATH
003,DB_SID,ENTER DB SID NAME
077,FILE,Enter File
It appears that this has been asked and answered in similar fashions previously, but I am still unsure how to approach this.
I have two files containing user information:
fileA
ttim:/home/ttim:Tiny Tim:632
ppinto:/home/ppinto:Pam Pinto:633
fileB
ttim:xkfgjkd*&#^jhdfh... (3 Replies)
Hi all,
I have two files with the same number of lines
the first file is a.dat and looks like
0.000 1.000
1.000 2.000
...
the fields are tab separated
the second file is b.dat and looks like
1.2347 0.546
2.3564 0.321
...
the fields are tab separated
I would like to have a file c.dat... (4 Replies)
Hi,
I've shown an example of what I would like to achieve below. In the example file, I would like to sum the values in column 2 for each distinct category in column 3 (presumably making an array?) and print the sum as well as the category name and length (note:length always corresponds with... (8 Replies)
Hi, i want to add another column to existing files containing strings and need to have the final output as a csv file. i have quite a number of files, each with varying number of rows and i need to append the string "test" for all the valid rows for each file. my sample raw files looks like this... (8 Replies)
Hi gurus!
Please help me with this one. I have an file with the following contents:
a
b
c
d
e
f
g
h
i
j
I would like to make to transform it to look like this as my output file:
a,b,c
d,e,f (4 Replies)
Dear All,
I have a data file input.csv like below. (Only five column shown here for example.)
Data1,StepNo,Data2,Data3,Data4
2,1,3,4,5
3,1,5,6,7
3,2,4,5,6
5,3,5,5,6
From this I want the below output
Data1,StepNo,Data2,Data3,Data4
2,1,3,4,5
3,1,5,6,7
where the second column... (4 Replies)
I have 2 files,
file01= 7 columns, row unknown (but few)
file02= 7 columns, row unknown (but many)
now I want to create an output with the first field that is shared in both of them and then subtract the results from the rest of the fields and print there
e.g.
file 01
James|0|50|25|10|50|30... (1 Reply)
Hi,
I have a tab delimited text file where the first two columns equal numbers. I want to delete all rows where the value in the first column equals the second column. How do I go about doing that? Thanks!
Input:
1 1 ABC DEF
2 2 IJK LMN
1 2 ZYX OPW
Output:
1 2 ZYX OPW (2 Replies)
Hi,
I have a requirement to append = in particular row in csv file. Data in csv is as follow:
row1,a,a,a
row2,b,b,b
row3,c,c,c
row4,d,d,d
csv should be modified at row3 and no. of columns are not fixed but rows are. output should be as:
row1,a,a,a
row2,b,b,b
row3,=c,=c,=c... (2 Replies)
Dear fellows, I need your help.
I'm trying to write a script to convert a single column into multiple rows.
But it need to recognize the beginning of the string and set it to its specific Column number.
Each Line (loop) begins with digit (RANGE).
At this moment it's kind of working, but it... (6 Replies)
Discussion started by: AK47
6 Replies
LEARN ABOUT DEBIAN
axgetput
AXGETPUT(1) Linux Programmer's Manual AXGETPUT(1)NAME
axgetput - upload or download files via AX.25 / axspawn Linux login session.
SYNOPSIS
axgetput [-b blocksize] [-i] [-v] [-h] [?] filename
axgetput [-b blocksize] [-i] -s [-v] [-h] [?] [filename]
DESCRIPTION -b blocksize
Set the blocksize (frame length) of transmitted data. Defaults to 256 bytes which matches typical AX.25 network confurations best.
-i Compute CRC checksum only.
.B -s Indicates input from a stream. This option is available only if STDIN is a pipe. The filename argument may be omitted if -s is
given. The length of the file need not to be known.
-v print version and exit.
-h, ? print usage and exit.
axgetput is the actual name of the program. You execute for e.g. bget or bput while axgetput is the common program to which bget and bput
are linked to. axgetput autodetermines which operation mode the user desires.
axgetput sets the pty to be 8bit clean (thus enables binary mode for the file transfer). It requires that the user is logged in through
axspawn(8).
I. #BIN Protocol
bget is used for downloading a file on this system from the unix login shell via his ax25 session to his packet-radio terminal program. The
download "protocol" is the "#BIN" standard known from packet radio mailboxes.
bput does it the other way round: with this comand, the user may upload a file to this computer.
The #BIN protocol provides a CRC consistency check after the file is transfered. The transfer of the file modification time is part of the
#BIN protocol.
II. YAPP Protocol
yget or yput is reserverd for the yapp protocol, which is not supported in this version.
II. DIDADIT Protocol
rget or rput is reserverd for the didadit protocol, which is not supported in this version.
Anyone like to implement yapp and didadit protcols?
AUTHOR
Thomas Osterried DL9SAU <thomas@x-berg.in-berlin.de> Ralf Baechle DL5RB <ralf@linux-mips.org>
Linux 21 January 2007 AXGETPUT(1)