Hi,
I have an urgent task here. I am required to sort a flat file based on multiple columns which are based on the character position in that line. I am restricted to use the character position instead of the space and sort +1 +2 etc to do the sorting.
I understand that there is a previous... (8 Replies)
Hi all;
I'm having headache on append one line to another based on the fix position.Hope u guys can help.
All i need to do is append the line that start with '3' to a line which start with '1' and the position for line 3 that i need to append is 22.
The original file look like this:
... (2 Replies)
How to extract multiple data based on character position. I need to fetch from 7-9 and 22-26 and there is no delimiter for 22-26 since it is part of the column. The file may have more than 1000 character long.I managed to pull any one but not both
for example
test data
12345 zxc vbnmlk... (1 Reply)
i have a file (test.txt) that contains:
20799510617900000928000000005403020110315V
20799510617900000928000000005403020110316
20799510617900000928000000005403020110317
20799510617900000928000000005403020110318V
grep V test.txt > /tmp/void.log
if
then
mail -s "void" < test.txt
fi... (2 Replies)
Greetings,
We have a requirement where we need to loop in a fixed width file in linux and remove a character based on a position for every record. It would highly appreciate if someone can help to automate this.
Appreciate your time and help!
Regards (3 Replies)
I have a file as below
pema.txt
s2dhshfu dshfkdjh dshfd
rjhfjhflhflhvflxhvlxhvx vlvhx
sfjhldhfdjhldjhjhjdhjhjxhjhxjxh
sjfdhdhfldhlghldhflhflhfhldfhlsh
rjsdjh#error occured#
skjfhhfdkhfkdhbvfkdhvkjhfvkhf
sjkdfhdjfh#error occured#
my requirement is to create 3 files frm the... (8 Replies)
Hi I have a text file that I want to change some of the characters based on their position. My file contain multiple lines and characters should be counted continuously line by line. For example, I want to convert the 150th T to C. What can I do? Here is a portion of my file:... (10 Replies)
Hi,
I am unable to find the right option to extract the data in the fixed width file.
sample data
abcd1234xgyhsyshijfkfk
hujk9876 io xgla
loki8787eljuwoejroiweo
dkfj9098 dja
Search based on position 8-9="xg" and print the entire row
output
... (4 Replies)
Hi,
I have a file with multiple lines(fixed width dat file). I want to search for '02' in the positions 45-46 and if available, in that lines, I need to replace value in position 359 with blank. As I am new to unix, I am not able to figure out how to do this. Can you please help me to achieve... (9 Replies)
Hi ,
I am having a scenario where I need to split the file based on two field values. The file is a fixed length file.
ex:
AA0998703000000000000190510095350019500010005101980301
K 0998703000000000000190510095351019500020005101480 ... (4 Replies)
Discussion started by: saj
4 Replies
LEARN ABOUT DEBIAN
faum-mergecow
FAUM-MERGECOW(1) Reference Information FAUM-MERGECOW(1)NAME
faum-mergecow - Tool for merging copy-on-write files
SYNOPSIS
faum-mergecow media-basefile
DESCRIPTION
faum-mergecow lets you merge the changes recorded in the copy-on-write file with the data on the (untouched, because of copy-on-write)
original media. This can be useful for testing first with copy-on-write and then finalizing everything by merging the changes back into the
original media.
The first parameter is the filename of the original media. The map file and the copy-on-write data will be found by appending .map and
.cow. (usually this will be ide-#/unit-#/media in your virtual machine directory).
The second parameter file is the name of the file which will contain the merged data. This file can directly be used as media for virtual
machines. Make sure there is enough room on your filesystem for this file!
BUGS
Please report all bugs to info@faumachine.org[1].
SEE ALSO faum-node-pc(1)AUTHOR
This manual page was written by the FAUmachine Team[1].
CONTACT
Webpage[2]
Project Team[1]
AUTHOR
FAUmachine team
COPYRIGHT
Copyright (C) 2000-2009 FAUmachine team. Developed at Friedrich Alexander University Erlangen-Nuremberg.
FAUmachine comes with ABSOLUTELY NO WARRANTY. FAUmachine 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. See COPYING for details.
NOTES
1. info@faumachine.org
mailto:info@faumachine.org
2. Webpage
http://www.faumachine.org/
FAUmachine 06/21/2012 FAUM-MERGECOW(1)