I am a beginner in VBA, so bear with me!
I've got a project folder (of a translation tool) containing big files and the script is searching for new .big files. I then need to compare found files with the already existing files in my project folder. There is an error in my looping.
Sample files...
I need to tweak the code of the following piece of code so that not all files of all subfolders are picked up but only files of a specific file type I previously define. In my case I would like to search for *.frm, *.res and *.properties files. I tried several routes but wasn't successful in how...
Actually, the rows are listed at random, so first I have to sort on column 2 (see "Input"). The order of output doesn't matter as long as I get all identical $source grouped together.
I have a tab separated 3 column text file with $file, $source and $target on each row.
1st: I need to identify all rows with identical $source;
2nd: I'll take the result of the 1st step and compare the $target. If different $target are used for $source, the output should give me all rows of that...
Thanks for your help. You put me on the right track. This did the job:
#!usr/bin/perl
use locale;
use strict;
use warnings;
my $file=<@ARGV>;
open LOG, "< $file" or die;
# Skip lines until the first record
do {
$_ = <LOG>
} until (/@\d+/);
while (! eof(LOG)) {
if (/@[^\d]/) {...
I already serached the forum and asked other colleagues who work with Perl how to tackle my problem but they couldn't help me. I need to get filtered out all records that contain 5 lines. Records are seperated by a "blankline" (^$). Below is an example of the file. I would need the following...
How can I add data to an array slice?
To be honest, I am lost. I am basically a linguist trying to automate daily routines around my terminological work. I have got some basic knowledge of Perl but now I am stuck.
Here's what I am after:
File 1 (tab delimited)
Account Code format.res...
Thanks for your quick response. I am sorry for not having answered earlier but I had a very urgent project to set up.
I have a follow up question and will ask you when I have time again to work on my script. Thanks again.
Hope my question isn't too stupid but I just cannot get it working.
I have a database output like this:
# ---------------------------------------------
#
# Exported Dictionaries:
#
# C:\TRANSIT.WIN\DB\CODA\INTELL
#
# Date of Export: 10.01.2005
#
# Format of Export: (ansi)
#
#...
Stupid, me! I have to apologize. As you have pointed out I didn't type in the correct sequence of file names on the command line. [sadeyes] Many thanks to all of you, now I have two scripts I can use in different contexts to get the results I need. Carmen
Thanks for this very quick reply.
Your awk script has nearly tackled my problem. The output of your script is:
your script output:
this is a test test.res, bla.frm .
carmen test.res, carmen.txt !
poekie poeki.frm
which is good. All I need now is the original spelling from file1.ans. So the...
Hello,
I try to compare the hash keys of two individual files.
The content of file1 is (tab separated columns):
Carmen !
Poekie
This is a test .
Winter ?
Test !
The content of file2 is (tab separated columns):
this is a test test.res, bla.frm
carmen test.res, carmen,txt
poekie poeki.frm
The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.