12-17-2014
Looks unbalanced: ID="$count)"
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi guys,
We have different IP ranges in our LAN, for instance my system IP Add. is in 163.183.37.x range, in the meantime i wish to connect to our printer/plotter which is 163.183.4.x & our LAN in another location with 163.183.38.x.
What shoul i do except defining pesudo IP Add's? as a... (1 Reply)
Discussion started by: nikk
1 Replies
2. Programming
Hi ALL :
consider the given 2 codes:
//p1.c
#include<stdio.h>
FILE * fp;
main()
{
pid_t pid;
fp=fopen("..........");
// now i am transfering the control to a new process(p2.c).
pid=fork();
if(pid==0)
.....
execl(" p2".....);
....
... (6 Replies)
Discussion started by: bankpro
6 Replies
3. Shell Programming and Scripting
Hi,
I was using mpack to send mails using cronjob with attachments. It was working perfect. But recently it's behaving strangely. Its sending the mails without any error message but the mail is not getting delivered.
The code I was using:
/usr/local/bin/mpack -s "$SUBJECT" -d $MSGBODY... (0 Replies)
Discussion started by: itesh.dash
0 Replies
4. AIX
$cat /tmp/tuxob.lst
udi *****
jim 10
ant 19
ibm *****
$ input=`head -1 /tmp/tuxob.lst | awk '{print $NF}'`
$ echo $input
The output I am expecting is '*****'. But It is showing me the available files of current directory. When I run the command
head -1 /tmp/tuxob.lst | awk '{print $NF} ... (3 Replies)
Discussion started by: panchpan
3 Replies
5. Shell Programming and Scripting
I notice that su - user (note with dash) brings in more of the user's environment than does su - user -c 'command'. For example, if root does an su - user, and types "umask" to the prompt, one umask is displayed; yet, if instead the command is su - user -c 'umask', the value is different. I thought... (2 Replies)
Discussion started by: drokerm
2 Replies
6. Shell Programming and Scripting
Hi,
i have script called script.ksh
script.ksh
---------
echo "Narayana" >$HOME/script.log
echo "$0" |sed 's/.ksh//' >>$HOME/script.log
My question is:
--------------
when iam executing on the prompt it is giving good results what we have expected...
example on the prompt:... (4 Replies)
Discussion started by: lnviyyapu
4 Replies
7. Linux
Hi,
I have a question on web servers and network switches.
Why a network switch should support certificate management, that means generating public and private keys... installing a certificate etcetra.
Regards
Chaitanya. :b: (4 Replies)
Discussion started by: chaitus.28
4 Replies
8. UNIX for Dummies Questions & Answers
In my old shop, we only had AIX machines there (all of version 6.1 ). FTP ports were not open for these AIX machines because of some security thing. So, we can't ftp scripts in ASCII mode.
When we wanted to copy huge scripts (shell scripts, sql scripts , ..etc) from our Windows based laptop... (6 Replies)
Discussion started by: kraljic
6 Replies
9. Shell Programming and Scripting
Hello
I want to check whether certain arguments were passed to the script, and when those are, not doing a log entry.
If those arguments are not passed, always do a log entry (*new call*).
What currently i have is this:
echo "${@}"|grep -q \\- || \
tui-log -e "$LOG" "\r---- New call $$... (4 Replies)
Discussion started by: sea
4 Replies
10. UNIX for Beginners Questions & Answers
Our application fails to run successfully on Solaris 11. The same works fine in Solaris 10.
Due to which we are unable to migrate to Solaris 11. The app basically involves forking a child process, which finally connects with parent process. But on Solaris 11, it is unable to connect with parent... (0 Replies)
Discussion started by: wini008
0 Replies
LEARN ABOUT DEBIAN
dirdiff
DIRDIFF(1) General Commands Manual DIRDIFF(1)
NAME
dirdiff - display differences and merge changes between directory trees
SYNOPSIS
dirdiff [-a|--all] [-o|--only pattern] [-I|--ignore pattern] [-r|--rcs] [-t|--bktag] [-c|--context num] [-b] [-w] [-B] [-i] [-d] [-S] [-k]
dir1 dir2 ...
OPTIONS
-a,--all
Don't exclude any files.
-o,--only pattern
Only process files matching pattern.
-I,--ignore pattern
Don't process files matching pattern.
-r,--rcs
Ignore differences in RCS strings.
-t,--bktag
Ignore differences in Bitkeeper strings.
-c,--context num
Set number of lines of context to show.
-b,-w,-B,-i,-d
Pass these on to diff.
-S Show files that are the same in the file list.
-K Enable bitkeeper support.
DESCRIPTION
Dirdiff is a graphical tool for displaying the differences between directory trees (up to 5) and for merging changes from one tree into
another.
At startup, dirdiff displays a main window with a list of the files that are different between the trees. Colored squares are used to
indicate the relative ages of the versions. Files are like leaves on a deciduous tree: the newest ones are green, and then they turn yel-
low, orange, and red as they get older. Missing files are black, and directories are white.
To see the differences between two versions of a file, double-click on the file name. By default, the first and last versions are com-
pared, but this can be changed using the Diff menu in the main window. In the differences window, there are checkboxes to the left of all
the sections which are different. You can use button 1 to select an individual checkbox, or shift-button 1 or button 3 to select a whole
group. Selecting a line means that you are asking for that change to be made when you update either of the files using the Merge menu.
The line will be removed if it is already present or added if it is not present.
To copy from one tree to another, click on the file name and select the appropriate copy operation from the Copy menu of the main window.
Selecting Make patch from the File menu of the main window produces a file describing the changes between the files that can be applied by
the patch tool. You can edit the patch before saving, and may wish to add explanatory text, instructions, or patch Prereq lines at the
beginning. To save the patch, enter a filename in the patch window relative to the current directory, and choose Save. This will also
close the window.
If you are sending out patches, then the from directory should be the original version of the source. Try to make sure that the two files
have the same number of leading directories. See the patch(1) man page for more information.
NOTES
Dirdiff needs to be able to load the libfilecmp.so.0.0 shared library for the -r or -t flags to work.
SEE ALSO
diff(1) patch(1)
AUTHOR
Paul Mackerras
May 2002 DIRDIFF(1)