shell problem not working!!! :((


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting shell problem not working!!! :((
# 1  
Old 04-10-2008
shell problem not working!!! :((

Being given a text file create a folder that will contain 26
dictionary files as follows:first file contains the words
begining with 'A', alphabetically sorted, the second file with
'B' and so on.

I tried to solve it using awk...I have attached what i Have worked...pls help!
# 2  
Old 04-10-2008
don't post homework questions here! read the rules!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cp not working in shell script but running perfectly from shell

Dear All, I have script. Dest="" IFS=' ' for translation in $(echo $MY_MAP) do t1=$(echo $translation | cut -d"=" -f1) t2=$(echo $translation | cut -d"=" -f2| cut -d"," -f1) if then Dest=$UNX/$u_product_path/$u_study_path/$UNXTR/$t2 break; ... (4 Replies)
Discussion started by: yadavricky
4 Replies

2. Red Hat

[Solved] Problem while working with LVM

Hi I am getting the following error while executing any command related to LVM - # vgs vgs: symbol lookup error: vgs: undefined symbol: pvcreate Can any one please advise how to get rid of this problem? Thanks (6 Replies)
Discussion started by: atanubanerji
6 Replies

3. Shell Programming and Scripting

C-Shell!! Please help...cannot get it working...

Dear Friends, I am trying to get a script in c-shell working but no way! I don't know why but on my mac was working and now on linux is not! Basically the script should accept a root_file_name and work in batch on files. This is the script: #!/bin/csh -fn setenv IMAGIC_BATCH 1 ... (3 Replies)
Discussion started by: Mandrake83
3 Replies

4. Shell Programming and Scripting

Problem while working with multiple files

Dear friends, I am working with two files named g1.txt and g2.txt....g1.txt is my main file in which it contains following data #per_no permissionname permission command 1|HideCDrive, | : REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v... (1 Reply)
Discussion started by: jalpasoni
1 Replies

5. Solaris

rare network problem even-- reinstall is not working

i am not able to install solaris 10 i have installed solaris many times succesfully with wotking network after that abrupt power failure i was never able to start solaris and neither install during install it hangs IS IT PROBABLE THAT BIOS OR SOME OTHER SETTINGS RELATED TO HARDWARE IS... (3 Replies)
Discussion started by: simaich8
3 Replies

6. Shell Programming and Scripting

grep is not working, please find out the problem

HI Friends, Traxlist.txt --this is my file contains this txt ------------- 108042708190000.txt 108042708190001.txt 112040108174516.txt 112042708173000.txt 112042708174508.txt 112050108173000.txt 113042708100500.txt 113042708103026.txt i have varible called... (3 Replies)
Discussion started by: kittusri9
3 Replies

7. Shell Programming and Scripting

if -z not working in SH shell

Hello all, Any idea how to check whether a variable holding null value or not. if -z option works fine in bash, where as it is not working in sh. bash-3.00$ sh $ TEST= $ if ; then > echo "Null" > else > echo "Not null" > fi sh: test: 0403-004 Specify a parameter with this command.... (2 Replies)
Discussion started by: rijeshpp
2 Replies

8. Linux

rare problem -reinstalling formatting nothing is working

i am not able to install solaris 10 i have installed solaris many times succesfully with wotking network after that abrupt power failure i was never able to start solaris and neither install during install it hangs IS IT PROBABLE THAT BIOS OR SOME OTHER SETTINGS RELATED TO HARDWARE IS... (0 Replies)
Discussion started by: simaich8
0 Replies

9. Shell Programming and Scripting

shell not working

hi freinds, i just learning shell programming. i usually work in bash shell, but when i need tcshell, i normally i/p chshell command and go there. but although i have installed all the neccessay patches for this shell my machine can not work in tshell. but it shows the shell to be present..... (0 Replies)
Discussion started by: hytechpro
0 Replies

10. Gentoo

Gentoo problem, X is not working

I got Gentoo installed with only a few minor problems, but those are the worse right? :p Anyway, I can boot into a terminal and could could fine into TWM (yuck). So I emerged XFCE4 by doing this: use="-gnome -kde" emerge xfce I then inserted this into ~./xinitrc : ... (3 Replies)
Discussion started by: EDUD LIVE
3 Replies
Login or Register to Ask a Question