Thanks zaxxon. Its working fine.
Now I got few modifications in source file.
Modification is change in the file names.
Could you please help in this scenario?
Hi,
I have an input file like:
111
abcdefgh
asdfghjk
dfghjkl
222
aaaaaaa
bbbbbb
333
djfhfgjktitjhgfkg
444
djdhfjkhfjkghjkfg
hsbfjksdbhjkgherjklg
fjkhfjklsahjgh
fkrjkgnj
I want to read this input file and make separate output files with the header as numric value like "111"... (9 Replies)
Hi
extending to one of my previous posted query ....
I am using
nawk -v invar1="$aa" '{print > ("ABS\_"((/\|/)?"A\_":"B\_")invar1"\_NETWORKID.txt")}' spfile.txt
to get 2 different files based on split condition i.e. "|"
Similar to invar1 variable in nawk I also need one more variable... (18 Replies)
Hi,
I have a requiement where in i will get a single file but there will be mutiple headers.
Suppose say for eg:
Header1
Data...
Data...
Header2
Data..
Data..
Header3
Data..
Data..
I want to split each with the corresponding data into a single file.
Please let me know how... (1 Reply)
I have a bif text file with the following format:
d1_03 fr:23
d1_03 fr:56
d1_03 fr:67
d1_03 fr:78
d1_01 fr:35
d1_01 fr:29
d1_01 fr:45
d2_09 fr:34
d2_09 fr:78
d3_98 fr:90
d3_98 fr:104
d3_98 fr:360
I have like thousands of such lines
I want to reformat this file based on column 1... (3 Replies)
I was given a data file that I need to split into multiple lines/records based on a key word. The problem is that it is 2.5GB or bigger and everything I try in perl or sed causes a Segmentation fault. Can someone give me some other ideas.
The data is of the form:... (5 Replies)
I have a file in unix with sample data as follows :
--------------------------------------------------------------
--------------------------------------------------------------
{30001002|XXparameter|Layout|$
I want this file to be splitted into different files and corresponding to the sample... (54 Replies)
Hi Friends ,
Please guide me with the code to extract multiple files from one file .
The File Looks like ( Suppose a file has 2 tables list ,column length may vary )
H..- > File Header....
H....- >Table 1 Header....
D....- > Table 1 Data....
T....- >Table 1 Trailer....
H..-> Table 2... (1 Reply)
hdr=$(cut -c1 $path$file|head -1)#extract header”H”
trl=$(cut -c|path$file|tail -1)#extract trailer “T”
SplitFile=$(cut -c 50-250 $path 1$newfile |sed'$/ *$//' head -1')# to trim white space and extract table name
If; then # start loop if it is a header
While read I #read file
Do... (4 Replies)
Hi,
I have 2 csv/txt files with single columns. I am trying to merge them using paste, but its not working..
output3.csv:
flowerbomb
everlon-jewelry
sofft
steve-madden
dolce-gabbana-watchoutput2.csv:
http://www1.abc.com/cms/slp/2/Flowerbomb
http://www1.abc.com/cms/slp/2/Everlon-Jewelry... (5 Replies)
Hi,
I'm having a xml file with multiple xml header. so i want to split the file into multiple files.
Sample.xml consists multiple headers so how can we split these multiple headers into multiple files in unix.
eg :
<?xml version="1.0" encoding="UTF-8"?>
<ml:individual... (3 Replies)
Discussion started by: Narendra921631
3 Replies
LEARN ABOUT DEBIAN
pilot-getram
pilot-getram(1) PILOT-LINK pilot-getram(1)NAME
pilot-getram - Retrieves the RAM image from your Palm device for use in debugging.
SECTION
pilot-link: Tools
SYNOPSIS
pilot-getram [-p|--port <port>] [--version] [-q|--quiet] [-?|--help] [--usage] [-t|--token token] [-s|--sysinfo] [--ram] [--rom] [file-
name]
DESCRIPTION
pilot-getram is used to fetch the current RAM image from your Palm handheld for use in debugging.
pilot-getromtoken, pilot-getrom and pilot-getram are inter-related. All relevant code is implemented in pilot-getrom, and you can do
pilot-getromtoken --ram filename to get the RAM dump if you like.
Note, because pilot-getrom uses the low-level RPC protocol to fetch the ROM image, and the new OS5 devices do not use this protocol, you
currently cannot fetch an OS5 ROM image using this utility. This will be updated in a future release to handle fetching OS5 ROM images,
using the debugger protocol.
OPTIONS
pilot-getram options
-t,
--token token
A ROM token to read (i.e. snum)
-s, --sysinfo
Print SysInfo
--ram
Read RAM
--rom
Read ROM
<filename>
Write the RAM image to the file named by <filename>. If this is omitted, the filename will be written out as the RAM version name as fol-
lows: ' pilot-$VERSION.ram ', where an OS 3.5 image would be written as the filename of 'pilot-3.5.0.ram'.
Conduit Options
-p, --port
<port>
Use device file <port> to communicate with the Palm handheld. If this is not specified, pilot-getram will look for the $PILOTPORT environ-
ment variable. If neither are found or supplied, pilot-getram will print the usage information.
-q,
--quiet
Suppress 'Hit HotSync button' message
-v, --version
Display version of pilot-getram and exit without connecting.
Help Options
-h, --help
Display the help synopsis for pilot-getram and exit without connecting.
--usage
Display a brief usage message and exit without connecting.
USAGE
Connect to a target Palm handheld and fetch the RAM from the device.
AUTHOR
pilot-getram was originally written by Kenneth Albanowski.
This manual page was converted to XML by Neil Williams <linux@codehelp.co.uk>
REPORTING BUGS
We have an online bug tracker. Using this is the only way to ensure that your bugs are recorded and that we can track them until they are
resolved or closed. Reporting bugs via email, while easy, is not very useful in terms of accountability. Please point your browser to
http://bugs.pilot-link.org: http://bugs.pilot-link.org and report your bugs and issues there.
COPYRIGHT
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
SEE ALSO
pilot-getrom (1), pilot-link(7).
0.12.5 Copyright 1996-2007 FSF pilot-getram(1)