I am trying to learn how to use multiple modules and hearder files. I have tried a little experiment but cannot get it to work. Here is my code and compilation attempt. Any help with finding my problems appreciated.
The main function (main01.c) calls a function located in another file... (9 Replies)
How to make this script?
1. Write a portable bash shell script called change_password.bash that will
prompt the user for a password. Use a series of if statements to test if:
1.
The password is NOT 6 or more characters
2.
The password does not contain at least 3 consecutive letters... (1 Reply)
Hello Friends,
I am learning Perl now. I have a small query.
I have a directory Z with file name Z.txt.
I would like to copy this file Z.txt to 3 new dir with new filenames as follows
dir 1 1.txt
dir 2 2.txt
dir 3 3.txt
I would like to then open 1.txt from dir 1 and edit the first... (0 Replies)
Hello all
I am having problems using a bash script to read the input from the user and checking that its a valid number. I only want the user to input a maximum of a 3 number string (321 , 521 , 871 etc.). Anything longer or that includes a chararcter or symbol will display an error message.
... (8 Replies)
Hello, I am new to the Bash scripting language, and was given a tutorial page on how to setup a file. However I am trying to use cygwin to run this file and it is not working.
$ vi averagetime.sh
#
#
#
echo "Enter Dictorinary File Text "
read dict
echo "Enter Grid Name"
read grid... (13 Replies)
I am using the following code:
if ; then
I am getting an error saying line 12:
The code is supposed to examine whether the filename read into $FILE includes the string IMG*. I do have a fi later in the script, but I must be missing something obvious. Can anyone help? (3 Replies)
Hi,
I have used pdftotext with good results in the past, but today for some reason I keep getting the same error message.
My command is as follows:
And the error message is
I am using Vmware player with Ubuntu server, but I don't think that is causing this issue as I have been using... (2 Replies)
Hi guys,
I have the following code:
int main(int argc, char *argv)
{
int pid1,pid2,i=0;
pid1=fork();
i+=2;
if(!pid1) i++;
if(i%3) pid2=fork();
if (pid2==0)
{
printf("sea \n ");
i-=1;
}
if(i>=2)... (4 Replies)
Discussion started by: pfpietro
4 Replies
LEARN ABOUT SUSE
cannacheck
CANNACHECK(1) General Commands Manual CANNACHECK(1)NAME
cannacheck - Display information about Japanese input system Canna
SYNOPSIS
cannacheck [-v]
DESCRIPTION
cannacheck displays the problems concerning use of Canna and the related information. It examines the following items:
- Customize file to be used
- Romaji-to-Kana conversion dictionary to be used
- Destination to which the server is to be connected. Is it connectable?
- Dictionaries to be mounted. Are they mountable?
- Errors in the customize file
The problem(s) are displayed on the standard output if found.
OPTIONS -v Displays all the above information including items that contain no problem.
FILES
/var/lib/canna/cannahost Name of the host under which cannaserver(1M) is in operation.
SEE ALSO cannaserver(1M), cannakill(1M), cannastat(1)ENVIRONMENT
CANNAHOST Specifies the name of the host under which cannaserver(1M) is in operation.
CANNAFILE Specifies the initialize file (.canna).
CANNACHECK(1)