02-10-2009
create an input file
I am using a large unix server at my college. I have remote access to it on my laptop. I have installed a program on the large unix server, and want to write to the program. How do I alter parameters to read input and write output somewhere else?. I would like to read input and write output to my home directory. Can someone help me out?. Thanks!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I would like to prompt for input and then use it as a variable in a script.
Something like this.
#!/bin/ksh
echo "What is your name?: \c"
read response
echo "Your name is $reply" >file.txt
done
exit 0
What am I missing?
Thanks, (7 Replies)
Discussion started by: darthur
7 Replies
2. Shell Programming and Scripting
Hi
How to create a directory structure with getting input from a file.
I have file in that following lines are written.
./activemq-4.1.2/activemq-core-4.1.2.jar
./activemq-4.1.2/backport-util-concurrent-2.1.jar
./camel-1.4.0/apache-camel-1.4.0.jar
./camel-1.4.0/lib/activation-1.1.jar... (12 Replies)
Discussion started by: itsjoy2u
12 Replies
3. Shell Programming and Scripting
Being new to this area .I have been assigned a task which i am unable to do . Can any one please help me .
Hi I have requirement where i have input file XYZ_111_999_YYYYMMDD_1.TXT and with header and series of Numbers and Footer.
I want to create a mutiple output files with each file having a... (2 Replies)
Discussion started by: bhargavkr
2 Replies
4. Shell Programming and Scripting
Hi All,
Please ignore if terminology used is incorrect as I am new to Unix.
I want to create a Multi user input form which looks something like this:
ABCD TOOL
Logged User: abcd12 ... (4 Replies)
Discussion started by: vidhu0007
4 Replies
5. Shell Programming and Scripting
I need some help to write a ksh script.
My code so far (pretty bad, sorry):
#! /bin/ksh
echo "Calculate average"
UserDecision=y
while test $UserDecision = y
do
echo "Enter a number: "
read Number1
echo "Enter a number: "
read Number2
echo "Do you want to enter another number?... (2 Replies)
Discussion started by: johnagar
2 Replies
6. Shell Programming and Scripting
Hi Dears,
I have one script to create new users with information in one plain text file. This script will read all lines in the file and create one users for one line.
Sample file:
#action;login,full name title,expire date,project
+;gmwen,Bruce Wen QA,04/01/2012,BT
+;xxdeng,Shown Deng... (4 Replies)
Discussion started by: crest.boy
4 Replies
7. Shell Programming and Scripting
I have file A.txt
File A
1,Hi,234
2,Hello,345
1,Kal,980,
9,KJ,098
2,de,098
..
...
I have more then 600 lines...
I want separate the files as per 150 line.
First 150 lines ----File A1.xtx
Second 150 lines ---File A2.txt
Third 150 lines----File A3.txt.
... (4 Replies)
Discussion started by: asavaliya
4 Replies
8. Shell Programming and Scripting
Hi All,
I was trying to generate GUI using shell script. After long search I found the utility called “dialog”. Using this utility I am able to generate window to collect the input.
dialog --inputbox "Input 1" 10 45
dialog --inputbox "Input 2" 10 45
dialog --inputbox "Input 3" 10 45
Using... (2 Replies)
Discussion started by: kalpeer
2 Replies
9. UNIX for Dummies Questions & Answers
Hi Guys
Please can you help me to create a file using the following inputs
2351 first input
2339 second input
all this rows need to have the value 0 in front
2338 third input
2333 fourth input
all this rows need to have the value 1 in front
count all the rows in the file and insert the... (10 Replies)
Discussion started by: jiam912
10 Replies
10. Shell Programming and Scripting
In the below bash a file is downloaded when the program is opened and then that file is searched based on user input and the result is written to a new file.
For example, the bash is opened and the download.txt is downloaded, the user then enters the id (NA04520). The id is used to search... (5 Replies)
Discussion started by: cmccabe
5 Replies
dxjim(1X) dxjim(1X)
NAME
dxjim - An input server for Japanese
DESCRIPTION
In a Motif environment such as CDE, Asian language input methods are supported by independent processes called input servers. The Japanese
input server (dxjim) is an X client process that can run on a standard X server, provided that the server system has the required Japanese
fonts installed. This means that the Japanese input server can run on any system that can access your X display device, including the
device itself.
Starting the Input Server
If your CDE session language is set to Japanese, the Japanese input server is started automatically, and both the language setting and the
Japanese input method is available for applications that you start during that session. If your session language is not set to Japanese,
you can switch to Japanese from a terminal emulation window by setting the LANG environment variable to a Japanese locale. From the same
terminal emulation window, you must also use the command line to start the Japanese input method server and then other applications in
which you want to use Japanese.
You can start the input server on your local workstation by using the following command:
% /usr/bin/X11/dxjim &
If you want to start the input server on a remote system, log on the remote system, and enter the following commands. Substitute the name
of your local system for <display_name> in the first command.
% setenv DISPLAY <display_name>:0 % /usr/bin/X11/dxjim &
After the input server is started, any Motif applications that have been internationalized to support Japanese can communicate with the
server to obtain input method services. However, remember that these applications must be started after the server is started.
RESTRICTIONS
This input server uses X11R6. It can connect to input-method clients running X11R4, X11R5, or X11R6 under the same locale. However, support
for multiple monitors (multi-head systems) is available only to clients also running X11R6. Support for multiple monitors is not available
to input-method clients using X11R5 or X11R4.
SEE ALSO
Commands: dxhangulim(1X), dxhanziim(1X), dxhanyuim(1X), locale(1)
Others: Japanese(5), i18n_intro(5), l10n_intro(5)
dxjim(1X)