When you transfer those txt files from Windows to Ubuntu, you need to convert them to unix format either during transfer or after transfer. If after transfer, you can convert the file to unix like so:
or
Bingo! Thanks a lot!
How can I make the code a .awk script that I can make an executable? And can be called with:
Can anybody help me out with this problem
" a shell program that takes one or any number of file names as input; sorts the lines of each file in ascending order and displays the non blank lines of each sorted file and merge them as one combined sorted file. The program generates an error... (1 Reply)
Hi
I want to merge two or more files using perl in windows only(Just like Paste command in Unix script) . How can i do this.Is ther any single command to do this?
Thanks
Kunal (1 Reply)
Hello,
I have two txt files that look like this:
db.0.0.0.0:
Total number of NS records = 1
db.127.0.0.0:
Total number of NS records = 1
Total number of PTR records = 1
db.172.19.0.0:
Total number of NS records = 1
Total number of PTR records = 3
db.172.19.59.0:
Total... (8 Replies)
Hi,
I have a very basic knowledge of shell scripting & would like some help with a little problem I have. I sometimes use a program calle phronix & sometimes like to compare its results which are *.xml files. Which is easy enough but a friend wants to avoid typing the path to the files.... (2 Replies)
Dear all,
I am new to this community. I need a script that will merge two lines of a text file based on some character. for example-
Input
asfdas fas sdfhksd sdf ss 45 gf#
gjsdh fhjsd yiu oiuio ioioiuii
sdgjdshsdg sdhfjk
sdfhsd sdf sdf sdf wer wer we#
qqwewq qwe qwe wer#
fsdf sdf... (8 Replies)
I have a need to merge two files on the value of an index column.
input file 1
id filePath MDL_NUMBER
1 MFCD00008104.mol MFCD00008104
2 MFCD00012849.mol MFCD00012849
3 MFCD00037597.mol MFCD00037597
4 MFCD00064558.mol MFCD00064558
5 MFCD00064559.mol MFCD00064559
input file 2
... (9 Replies)
Hi I have two scripts one is Expect and other is shell.
I want to merge Expect code in to Shell script so that i can run it using only one script. Can somebody help me out ?
Order to execute: Run Expect_install.sh first and then when installation completes run runTests.sh shell script.
... (1 Reply)
apertium-preprocess-transfer(1)apertium-preprocess-transfer(1)NAME
apertium-preprocess-transfer - This application is part of ( apertium )
This tool is part of the open-source apertium machine translation toolbox: http://www.apertium.org.
SYNOPSIS
apertium-preprocess-transfer rules_file transfer_file
DESCRIPTION
apertium-preprocess-transfer is a structural transfer preprocessor which reads in a structural transfer rule file and generates a file with
precompiled patterns and indexes to the actions of the rules of the structural transfer module specification.
FILES
These are the two files that can be used with this command:
rules_file File with structural transfer rules
transfer_file File with precompiled patterns
SEE ALSO apertium-translator(1), apertium(1), apertium-transfer(1).
BUGS
Lots of...lurking in the dark and waiting for you!
AUTHOR
Copyright (c) 2005, 2006 Universitat d'Alacant / Universidad de Alicante. This is free software. You may redistribute copies of it under
the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
2006-03-08 apertium-preprocess-transfer(1)