02-24-2015
Thanks for replying, but I need to only include names in the fifth field so I'm thinking if I could just grab the lines if the fifth field is in line with "capital first name" space "capital last name" then output only those lines so it wouldn't print something like "mail mail" or "games games" but instead lines like "wallack Phil Wallack" or "clocke1 Chris Locke" etc.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused:
Hye everybody i would like to know if exist a internet site where i can founs some interesting shell script very usefull
I need to transform hundreds names of files escribed in CAPITAL letter in minuscule letter
do oyu know a mean o do that that thanks to a script or a shell... (1 Reply)
Discussion started by: Dark Angel
1 Replies
2. UNIX for Dummies Questions & Answers
I have an odd issue.
I am trying to copy some files/folders to my linux box via a burned CD which I created on my mac. When I browse the files on the mac (or my windows box), everything looks fine (some of the folder names start with a capital letter, which is needed for everything to work... (8 Replies)
Discussion started by: blogg
8 Replies
3. Shell Programming and Scripting
Hi everyone.
I wanted to convert capital characters to small one.
So i tried to use:
sed -e "y///"
but this won't work.
And
sed -e "y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/"
this worked well.
Does anyone know why?? (2 Replies)
Discussion started by: Euler04
2 Replies
4. Shell Programming and Scripting
Hi,
I have a korn shell script with 1 parameter.
My script deletes certain files, for example....
sid=$1
rm $ORC/dbs/orapwd${sid} #orapwddb1
rm $ORC/dbs/lk${sid} #lkDB1
In the first file, the $sid must be in small letters and in the second file, the $sid must be in capital... (4 Replies)
Discussion started by: n8575
4 Replies
5. Shell Programming and Scripting
Hi,
I want to be able to list all the names in a file which begin with a capital letter, but I don't want it to list words that begin a new sentence. Is there any way round this?
Thanks for your help. (1 Reply)
Discussion started by: kev269
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I just want to search a file for any words containng a capital letter and then display a list of just these words!
I have been trying grep but to no has not helped.(im using the bash shell) (1 Reply)
Discussion started by: djdaniel3
1 Replies
7. Shell Programming and Scripting
Hello,
I am receiving a file every day as this format. Since today is friday, the format is, PGI_STG_FRIDAY14.TXT.
I need to write the shell script to check if this file exist in folder...
I am using date format..
export DATE=`date '+%A'`
echo $DATE
The output is Friday
But i... (8 Replies)
Discussion started by: govindts
8 Replies
8. Shell Programming and Scripting
Hi guys.
I have file named output.txt containing file names. one per line. I use this command to convert all characters to capital letters and write to the same file.
cat output.txt | tr 'a-z' 'A-Z' > output.txtBut at the end output.txt is emtpy. Could anyone help?? (6 Replies)
Discussion started by: majid.merkava
6 Replies
0intro 0intro intro 0intro 2a 2a 6a 2a 8a 2a ka 2a va 2a xa 2a 2c
2c 6c 2c 8c 2c kc 2c vc 2c xc 2c 2l 2l 6l 2l 8l 2l kl 2l vl 2l xl
2l 81/2 81/2 label 81/2 window 81/2 wloc 81/2 acid acid acme acme
awd acme win acme 8al alef alef alef kal alef val alef ar ar art
art art2pic art ascii ascii unicode ascii awk awk basename base-
name bc bc bind bind mount bind unmount bind bundle bundle c++
c++ c++/2c c++ c++/2l c++ c++/8c c++ c++/8l c++ c++/kc c++ c++/kl
c++ c++/vc c++ c++/vl c++ cal cal calendar calendar cat cat read
cat char char rschar char 1/2char char chgrp chgrp chmod chmod
cmp cmp comm comm con con cu con rx con telnet con xmr con xms
con cp cp mv cp cpp cpp cpu cpu date date db db dc dc dd dd dela-
tex deroff deroff deroff diff diff doctype doctype du du echo
echo ed ed emacs emacs eqn eqn factor factor primes factor file
file fmt fmt fone fone fortune fortune freq freq 4s games 5s
games ana games catclock games clock games festoon games fire-
works games fsim games games games life games mandel games plumb
games smiley games swar games grap grap graph graph grep grep gs
gs hoc hoc hp hp join join broke kill kill kill ktrans ktrans lex
lex look look lp lp lc ls ls ls aliasmail mail edmail mail mail
mail seemail mail sendmail mail smtp mail smtpd mail to mail vis-
mon mail vwhois mail lookman man man man mc mc membername mk mk
mk mkdir mkdir mothra mothra netstat netstat news news nm nm p p
page page netkey passwd passwd passwd pcc pcc pic pic tpic pic
plot plot ppp ppp pppclient ppp pppserver ppp pr pr kprof prof
prof prof proof proof ps ps psu ps pbd pwd pwd pwd cd rc eval rc
exec rc exit rc flag rc rc rc rfork rc shift rc wait rc whatis rc
~ rc rm rm B sam sam sam sam.save sam sed sed seq seq size size
sleep sleep sort sort spell spell sprog spell spin spin split
split start stop stop stop strings strings strip strip md5sum sum
sum sum syscall syscall tail tail 32vfs tapefs cpiofs tapefs
tapefs tapefs tapfs tapefs tarfs tapefs tpfs tapefs v10fs tapefs
v6fs tapefs tar tar tbl tbl tcs tcs tee tee iwhois tel tel tel
test test bibtex tex dvips tex dviselect tex latex tex mf tex tex
tex time time touch touch tr tr nroff troff troff troff tweak
tweak twig twig uniq uniq units units ki vi vi vi xi vi wc wc who
who whois who xd xd yacc yacc yesterday yesterday