Extract specific data content from a long list of data
My input:
My output:
Based on individual Data name, I would like extract its Start_time and End_time detail and put it at the column 2 and 3, respectively.
Thanks for any suggestion or hit to archive this goal.
Last edited by patrick87; 12-09-2009 at 05:23 AM..
Reason: code tags!
:confused: I have a tab delimited file that I need to extract data from and into a file with specific field specs. Each field has to be a certain amount of characters. So, the name field (from delimited file) might have only 15 characters but needs to be 25 (in new file) so I need to insert spaces... (5 Replies)
Hi,
I got a long list of contents:
>sequence_1
ASSSSSSSSSSSDDDDDDDDDDDCCCCCCC
ASDSFDFFDFDFFWERERERERFSDFESFSFD
>sequence_2
ASDFDFDFFDDFFDFDSFDSFDFSDFSDFDSFASDSADSADASD
ASDFFDFDFASFASFASFAFSFFSDASFASFASFAFS
>sequence_3
VEDFGSDGSDGSDGSDGSDGSDGSDG
dDFSDFSDFSDFSDFSDFSDFSDFSDF... (2 Replies)
Input file:
#abc_1
SAASFASFGGDSGDSGDSGSDGSDGSDGSDGSDGSDGSDGDS
Output file:
FASFGGDSGDS
I just want to print out the read from position 5 until position 15 from the data.
Below is the code that I just try but it is failed to get my desired output:
grep -v '#' input_file | awk... (5 Replies)
Hi Friends,
One question.
Supposed I want to extract data only for process named "sqlplus" how can I do it. Any suggestions?
I don't want all the data as it is not useful to me e.g.. Command I use is given below
extract -xp -p -r repfile -b"03/15/13 7:00 PM" -e"03/15/13 09:30 PM" -f... (1 Reply)
Bash scripting beginner here...
I have many folders, each folder representing one subject. Not all subjects have all the required files, so I need to somehow cycle through all the data and then extract the data only from subjects who have no files missing. I tried to output the ls command, but... (4 Replies)
data.txt has several information like the below..
<SERVER>:WEB:MYDOM01:/tmp/cong/MYDOM01,/tmp/app/MYDOM01
<WEBER>:CANES:https-web01,https-web02:/web/apps/https-web01/config
<SERVER>:WEB:MYDOM07:/tmp/cong/MYDOM07,/tmp/app/MYDOM07... (7 Replies)
Discussion started by: mohtashims
7 Replies
LEARN ABOUT DEBIAN
dcfile
DCFILE(1) DICOM PS3 - Describe DICOM file content DCFILE(1)NAME
dcfile - ACR/NEMA DICOM PS3 ... DICOM PS3 - Describe DICOM file content
SYNOPSIS
dcfile [ -b|brief ] [ -filename ]
DESCRIPTION
dcfile reads the named dicom or acr-nema input file and describes the encoding method of the file, ie. what transfer syntax is in use, and
whether or not a Part 10 style meta-information header is present.
OPTIONS
The description goes to standard error.
The basic input switches are described in dcintro(1). Options specific to this program are:
-b|brief
Display a single line brief summary.
-filename
Show the name of the file supplied in the arguments; a hyphen will be reported if no filename was supplied.
ENVIRONMENT EXAMPLES
% dcfile dicomdir.
Meta: UID 1.2.840.10008.1.2.1
Meta: Description "Explicit VR Little Endian"
Meta: ByteOrder Little
Meta: VR Explicit
Meta: Encapsulated No
Data: UID 1.2.840.10008.1.2.1
Data: Description "Explicit VR Little Endian"
Data: ByteOrder Little
Data: VR Explicit
Data: Encapsulated No
% dcfile expmeta.dc3
Meta: UID 1.2.840.10008.1.2.1
Meta: Description "Explicit VR Little Endian"
Meta: ByteOrder Little
Meta: VR Explicit
Meta: Encapsulated No
Data: UID 1.2.840.10008.1.2
Data: Description "Implicit VR Little Endian"
Data: ByteOrder Little
Data: VR Implicit
Data: Encapsulated No
% dcfile NM.1
Data: UID 1.2.840.10008.1.2
Data: Description "Implicit VR Little Endian"
Data: ByteOrder Little
Data: VR Implicit
Data: Encapsulated No
% dcfile test.spi
Data: ByteOrder Big
Data: VR Implicit
Data: Encapsulated No
% dcfile -b evrlewm.dcm
DICOM file, with metaheader, Explicit VR Little Endian
% dcfile -b evrlenom.dcm
DICOM file, no metaheader, Explicit VR Little Endian
FILES SEE ALSO file(1), dcdump(1), dcintro(1)AUTHOR
Copyright (C) 1993-2010. David A. Clunie DBA PixelMed Publishing. All rights reserved.
BUGS DICOM PS3 6 March 2007 DCFILE(1)