hi people. i need assist in this quite easy problem. i have a text as:
the script should check second coloumn in each line and
if it is 4; it must write 1st option appending to "cellXXX"
if it is 5; it must write 2st option appending to "cellXXX"
if it is 6; it must write 3st option appending to "cellXXX"
if it is 7; it must write 4st option appending to "cellXXX"
if it is 8; it must write 5st option appending to "cellXXX"
if it is 9; it must write 6st option appending to "cellXXX"
I have a simple task for my school work. I'm new with unix, so i need help.
I need to write a scenario. Task is. From created txt file read first 3 words and create a 3 catalogs with those 3 words. 2 of those new catalogs should be transferred to other directory. If someone could help me just... (1 Reply)
Hi again. Sorry if it seems like I'm spamming the boards a bit, but I figured I might as well ask all the questions I need answers to at once, and hopefully at least get some.
I have installed Solaris 10 on a server. The default text editors are there (vi, ex, ed, maybe others, I know emacs is... (4 Replies)
Hello guys,
Forgive me if I duplicate the post but i think i make a mistake choosing the correct forum.
I need some help to solve a little problem, I have a big file with almost 100.000 lines of data, here is an example of line:
100099C01101C00000000059399489283CREMOVISTAR_TX ... (3 Replies)
a script, cheer that prints its parameter as shown in the example below.
eg:
$ cheer U N I X
Give me a U!
U!
Give me a N!
N!
Give me a I!
I!
Give me a X!
X!
#!/bin/sh
for letter
do
echo "Give me a $letter!";echo "$letter!"
done
this is the code i used for the above script (2 Replies)
Hi
This is going to sound so easy to some of you out there...
trying to copy and paste lines to an existing script - is there a command that i can use that overwrites the existing text there?
Cheers (11 Replies)
hi,
what i want to do is to convert all the txt file under my directory to the properties file using the native2ascii command.
however, when i run my script, i got bad substitution error. what's wrong with my script ? pls help. thanks
#!/bin/sh
curDIR=`pwd`
oldExt='txt'... (10 Replies)