10-02-2011
No, the "-i" option will modify the original file itself!
--ahamed
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I get a flat file with its last field data splitting onto a new line.I got this program from Vgersh which when run would cancatenate the split data back to the end of the previous records.But this program fails when it encounters a page break between the split data and the previous... (5 Replies)
Discussion started by: kumarsaravana_s
5 Replies
2. Shell Programming and Scripting
I wanted to know if there is a way to add a footer to a flat file that is being extracted by a sql query. so if the query extracts 1000 rows, in the flat file it appends the last line as 1000.
Is there a way to do so?
Thanks (1 Reply)
Discussion started by: rudoraj
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I want to remove the first line from a flat file using unix command as simple as possible. Can anybody give me a hand ?
Thanks in advance.
xli (21 Replies)
Discussion started by: xli
21 Replies
4. Shell Programming and Scripting
Hi All,
Please can someone assist in the script I have made that searches a pattern in a file and delete the whole line containing the pattern.
#!bin/sh
# The pattern that user want to add to the files
echo "Enter the pattern of the redirect"
read value
# check if the user has... (1 Reply)
Discussion started by: Shazin
1 Replies
5. Shell Programming and Scripting
Need to develop a unix shell script for the below requirement and I need your assistance:
1) search for file.log and file.bad file in a directory and read them
2) pull out "Load_Start_Time", "Data_File_Name", "Error_Type" from log file
4) concatinate each row from bad file as... (3 Replies)
Discussion started by: mlpathir
3 Replies
6. Shell Programming and Scripting
I have a flat file that contains records similar to the following two lines;
1984/11/08 7 700000 123456789 2
1984/11/08 1941/05/19 7 700000 123456789 2
The 123456789 2 represents an account number, this is how I identify the duplicate record.
The ### signs represent... (4 Replies)
Discussion started by: jolney
4 Replies
7. UNIX for Dummies Questions & Answers
HI,
can any one help me please ..
i have flat file like
qwer123rt ass3242ccf jjk654
kjh838ppp nhdg453ok hdkk34
i want remove numeric characters in the flat file
i want output like this
qwerrt assccf jjk
kjhppp nhdgok hdkk
help me... (4 Replies)
Discussion started by: rafimd1985
4 Replies
8. Shell Programming and Scripting
Hi ,
I want to remove the specific pattern and remove those lines from file using shell script.
i want to remove these lines
<?xml version='1.0' encoding='UTF-8'?>
<row_set>
</row_set>
my input file has content like this.
file name: sample.xml
<?xml version='1.0'... (4 Replies)
Discussion started by: nukala_2
4 Replies
9. UNIX for Advanced & Expert Users
Hi all,
I have a issues while loading a flat file to the DB. It is taking much time.
When analyzed i found out that there are duplicates entry in the flat file.
There are 2 type of Duplicate entry.
1) is entire row is duplicate. ( i can use sort | uniq) to remove the duplicated entry.
2) the... (4 Replies)
Discussion started by: samjoshuab
4 Replies
10. Shell Programming and Scripting
We have a flat file with below data :
^@^@^@^@00000305^@^@^@^@^@^@430^@430^@^@^@^@^@^@^@^@^@09079989530As we can see ^@ is Null character in this file
I want to remove only the first few null characters before string 00000305
How can we do that, any idea. I want a new file without first few... (5 Replies)
Discussion started by: simpltyansh
5 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)