I want to fetch text after the first occurance of the word "started at"
i.e. consider a text written below...
echo 'hi how r u '
Started at MON Jan 11 00:03:24 EST 2009
echo 'hi how is ur job goin on'
Started at Sun Jan 11 00:03:24 EST 2004
Started at TUE Jan 11 00:03:24 EST 2005
Started... (19 Replies)
i am a bit new to shell scripting
i have a file containing
xxxx xx xx
but i want to output the content as
xxxxxxxx.
thus removing the space.
any idea how i can do this (4 Replies)
Hello
I have a file with data something like this in it :
texttexttext "text .lst" TEXT=" text "
texttexttext "moretext .lst" TEXT=" text "
Question is how do I get rid of space so that the files looks like this :
texttexttext "text.lst" TEXT="text"
texttexttext... (8 Replies)
I want to remove all space NOT starting with http, the following works, but not elegant, is there better way?
$echo " a http b" | perl -lne 's/\shttp/#http/g; s/\s+//g; s/#http/ http/g; print $_;'
a httpb (4 Replies)
Hi ,
I want to remove space from each record in one file My file is like
BUD, BDL
ABC, DDD, ABC
ABC, DDD, DDD, KKK
The o/p should be
BUD,BDL
ABC,DDD,ABC
ABC,DDD,DDD,KKK
Can any one help me regarding this? (9 Replies)
Hi Gurus,
I have a file which contains some special char or space.
when using cat -evt I can see the file as following:
0,"0000","abc/def aaa ... (6 Replies)
Hi All ,
I am facing a small challenge i need unix command to remove space as well as replace "|" to "," in a csv file .
original file :
A | B | c | D
E | F | G | H
I | J | K | L
P | M | N | O
Expected o/p:
A,B,c,D
E,F,G,H
I,J,K,L
P,M,N,O (4 Replies)
I have a folder that contains many sub folders and files. This tree has to be backed up to an archive system. According to the tech support, one of the archives is failing to back up due to the possibility of trailing spaces on file and folder names. Therefore, I would like to have a script... (16 Replies)
Hi,
I have a file which looks like this
FORD|1333-1| 10000100010203| 100040507697|0002|356.45|5555| SSSSY|KKKKM|1000005|10| N096|10043| C987
I need the output to look like this
FORD|1333-1|10000100010203|100040507697|0002|356.45|5555| SSSSY|KKKKM|1000005|10| N096|10043| C987
The leading... (8 Replies)
Discussion started by: wahi80
8 Replies
LEARN ABOUT DEBIAN
index_dump
INDEX_DUMP(1p) User Contributed Perl Documentation INDEX_DUMP(1p)NAME
index_dump - Show the content of the index file
FORMAT
index_dump [options] file [ tag ]
where options are
--debug set debug level
--type specifies the num/date/char type of the index
--start defines the value to start dump from
--n prints also the total number of records
in the file
SYNOPSIS
index_dump rooms.cdx FACILITY
index_dump --debug=14 --start=Dub rooms.cdx ROOMNAME
DESCRIPTION
Index_dump prints to standard output the content of the index file. The type of the index is one of those supported by the XBase::Index
Perl module (cdx, idx, ntx, ndx, mdx).
The output contains the index key and the value, which is the record number in the correcponding dbf file.
For mulitag index files (like cdx), you need to specify the tag name to get the actual data.
AVAILABLE FROM
http://www.adelton.com/perl/DBD-XBase/
AUTHOR
(c) 1999--2011 Jan Pazdziora.
SEE ALSO perl(1); XBase::Index(3pm); dbf_dump(1p)perl v5.12.4 2011-08-31 INDEX_DUMP(1p)