I have a text file which has the following data. There can be more lines in the file. But, I am only interested in these two lines which has ~ZZ~VISTN and ~ZZ~F159B segments.
ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183
7~U~00200~000011258~0~P~<
... (8 Replies)
I have a file as below,
$vi myfile
aaa;20071217
bbb;20070404
ccc;20070254
"
if I want to cut the column 9-12 of the first line , the output should be 1217 , can advise how to write a script to get the result ? thx
p.s. can a script that have only ONE line could do that ? (5 Replies)
file1.txt :
india pakistan bangladesh
japan canada africa
USA srilanka Nepal
file2.txt
Delhi
Tokyo
washington
I have to cut the first column of file1.txt and apend it with file2.txt as another column like this
Delhi india
Tokyo japan
washington USA
... (4 Replies)
I downloaded vim.7.2 and compiled the vim source .
Added the vim binary path to PATH (Because iam not the root of the box)
when i load the file using vim it throws me an error
Error detected while processing /home2/e3003091/.vimrc:
line 2:
E185: Cannot find color scheme darkblue
line... (0 Replies)
Hi,
I need to cut the last of below link
lrwxrwxrwx 1 e027025 denccefs 36 Oct 21 02:30 prodcode1 -> /efare1/LINUXMTP-4/HOTFIX111019A_5U4/
after cut I need this value HOTFIX111019A_5U4
Please help me.
Thanks (3 Replies)
Hi,
I have a tab delimited text file from which I want to cut out specific columns. If the second column equals one, I want to cut out columns 1 and 5 and 6. If the second column equals two, I want to cut out columns 1 and 5 and 7. How do I go about doing that? Thanks! (4 Replies)
My scenario is that I need to pick value from third column based on fourth column value, if fourth column value is 1 then first value of third column.Third column (2|3|4|6|1) values are cancatenated.
Please someone help me to resolve this issue.
Source
column1 column2 column3 column4... (2 Replies)
Hi, I have a question how to cut the column from non delimited file
This is my file
gene_id ENSG00000223972 transcript_id ENST00000456328 exon_number 1 gene_biotype pseudogene gene_name DDX11L1 transcript_name DDX11L1-002 tss_id TSS26614
gene_id ENSG00000223972 transcript_id ENST00000515242... (1 Reply)
Hi ALL,
I have two file. I need to combine these two file based on a layout.
I used the below code and able to extract the record. But now able to insert that to a 3'rd file in between the extract
FILE 1
CAID NUMBER 1-20
TID NUMBER 21-22
LABEL CHAR 23-44
BASE 45-60... (5 Replies)
Discussion started by: arunkumar_mca
5 Replies
LEARN ABOUT OSF1
invsync
invsync(8) System Manager's Manual invsync(8)NAME
invsync - Synchronizes system inventory
SYNOPSIS
/usr/bin/invsync
DESCRIPTION
The invsync utility creates a Master Synchronization Inventory (MSI) file and a Customized File Inventory (CFI) file. These files can be
used to preserve the customized or modified state of your system in the event of a new installation. The MSI file contains a complete list
of files installed by the setld utility and the state of those files when they were installed. The CFI file contains the names of those
files installed by the setld utility that have been customized or modified since the installation. The files listed in the CFI file are
overwritten if you perform a new installation of the operating system.
You must have superuser privileges to run the invsync utility.
The invsync utility calls the usync utility to create the MSI file. After the MSI file is created, the invsync utility calls the udetect
utility to compare the state of the files shown in the MSI file with the current state of the files installed on the system. If a file
state differs, an entry is written to the CFI file.
Edit the CFI file to remove the entries for files that you do not want to back up. The CFI file and the MSI file are written in the setld
inventory file format. For more information, refer to the stl_inv(4) refernce page.
RESTRICTIONS
You must have superuser privileges to run the invsync utility.
FILES
Subset lock files Subset inventory files Customized File Inventory Master Synchronization Inventory
SEE ALSO genufi(8), udetect(8), updmerge(8), updmv(8), usync(8)stl_inv(4)invsync(8)