Hi,
I have a file a.lst which lists all files.
as
a.dat
b.dat
c.dat
I want to process these files mentioned in the list file in a loop.
Say I want to display only the first line of all the files a.dat , b.dat, c.dat.
How can I go about it?
Please help. (5 Replies)
Okay...
I've solved one problem.
Here's the next.
I'm writing a script file that needs to go through a directory and list all files in that directory.
I'm using TCL/TK.
I figured out how to go through the directory and how to loop through it, but I ran into a little problem.
... (2 Replies)
I am piping STDOUT from commands such as ifconfig and dmesg through grep, sed and awk to get the information I need.
I need to now perform some looping and branching now and have been trying to figure out how to do this on the command line.
You may ask "Why the command line? - Why not put it... (2 Replies)
This isn't working for multiple files. It works for one file though.
exists1=$(ls | grep gspp*)
for FILES in $exists1
do
echo "Loading $exists1"
... (23 Replies)
I posted this in the Solaris forum, but I don't think it's platform specific, so I'm posting it here.
Here is the situation. We are a company that has been using a professional publishing system, the software is called "ProType". It runs on Solaris 2.4, however it is no longer supported and we... (6 Replies)
Hi all,
I'm having a problem with a script which should ultimately provide a filename by reading a value from file1 and file2 then join together.
I'm planning to use a loop/ loops to get the values out of both files and create a single string unfortunately the code currently treats the second... (7 Replies)
Hello,
I want to rename all the files in my directory according to the following criterion:
IF the original filename does not end in 0
THEN rename the file to "original filname" but with the last character preceded by the string: _copy
IF the original filename ends in 0
THEN take the... (2 Replies)
I am writing a ksh which has to load 7 files(.dat files) from input directory into oracle tables using sql loader. The process has to take each file at a time and once if it is loaded succesfully using sql loader into oracle tables then the process has to pick next file and load it into oracle... (2 Replies)
Hi all ,
I am new on this forum . I have to face a particoular implementation issue and I need some help .
Requirement :
I need to read a particoular file (an xml file) and after reading it I need to call an Oracle Stored Procedure passing the content of the file as paramenter , in order... (3 Replies)
Hi,
I've got a folder with several files I'd like to manipulate. The file names are all ending in .txt and I'd like to loop through their names for manipulation. This is the script I've got so far:
for i in 'ls *.gtc.txt|cut -d "." -f1';
do
echo${i};
done
It should be easy enough, but... (2 Replies)
Discussion started by: zajtat
2 Replies
LEARN ABOUT DEBIAN
meld
MELD(1) General Commands Manual MELD(1)NAME
meld - Visual diff and merge tool for the GNOME Desktop
SYNOPSIS
meld [options]
meld [options] FILE1
meld [options] DIR1
meld [options] FILE1 FILE2 [FILE3]
meld [options] DIR1 DIR2 [DIR3]
DESCRIPTION
Meld is a graphical diff viewer and merge application for the Gnome desktop. It supports 2 and 3-file diffs, recursive directory diffs,
diffing of directories under version control (Arch, Bazaar, Codeville, CVS, Darcs, Git, Mercurial, Monotone, RCS), as well as the ability
to manually and automatically merge file differences.
OPTIONS --auto-compare, -a
Automatically compare all differing files on startup.
--diff FILE1|DIR1 FILE2|DIR2 [FILE3|DIR3]
Create a diff tab for the given files or directories. Note that "meld --diff FILE1 FILE2" is functionally equivalent to "meld FILE1
FILE2". However, the --diff argument can be given multiple times for one invocation of meld which allows the user to automatically
initiate multiple diffs when meld starts. See examples below.
--help, -h
Print application help and usage.
--LABEL=<label>, -L <label>
Set application window title to <label>.
--version
Print application version and exit.
EXAMPLES
meld
Run meld without initiating a diff.
meld FILE1
Initiate a diff between FILE1 and the version-controlled copy of FILE1.
meld DIR1
Initiate a recursive diff between DIR1 and the version-controlled copy of DIR1.
meld FILE1 FILE2
Initiate a diff between FILE1 and FILE2.
meld FILE1 FILE2 FILE3
Initiate a 3-way diff between FILE1, FILE2, and FILE3.
meld DIR1 DIR2
Initiate a recursive diff between directory DIR1 and DIR2.
meld DIR1 DIR2 DIR3
Initiate a recursive 3-way diff between directory DIR1, DIR2, and DIR3.
meld --diff FILE1 FILE2 --diff FILE3 FILE4
Initiate a diff between FILE1 and FILE2, and a separate diff between FILE3 and FILE4.
BUGS
If you find a bug, please report it at https://bugzilla.gnome.org/buglist.cgi?product=meld or mail a description of the issue to meld-
list@gnome.org.
AUTHORS
See the AUTHORS text file in meld's source code (http://git.gnome.org/browse/meld/tree/AUTHORS).
26 Sept 2010 MELD(1)