04-05-2002
A1 : not necessarily, you can also use small letters in the variables.
A2 : it is not possible to use the file of input as file of output.
Unhappyly you will have that to generate a separate file for output and if to desire, rename it with the name of the file of
input.
e.g.: sed -e s/here/there/g input.file > output.file;mv output.file input.file
I hope help you
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can convert a Lower case variable value to an upper case in the kron shell script. (3 Replies)
Discussion started by: dchalavadi
3 Replies
2. Shell Programming and Scripting
Hi all,
I am trying to rename all my files in a directory to their upper case counterparts .... I want to do this in a single command and not through shell script ... I started off thinking it wud be simple but got stuck up in middle since tr does not work the way i thought ...
This is what i... (5 Replies)
Discussion started by: Sabari Nath S
5 Replies
3. Shell Programming and Scripting
Hi, I have a variable $Ctrcd which contains country names in upper case and i want to convert them into lower case. I have tried so many solutions from already existing threads but couldn't get the correct one.
Can anybody help me with this.....
Thanks a lot.. (2 Replies)
Discussion started by: manmeet
2 Replies
4. Shell Programming and Scripting
Hi All
I have a script which extracts values from a Database (A persons name) and puts it into a variable in my script IE: $NAME
However the Value in the DB is all in uppercase and contains the users first name and last name
EG:
> echo $NAME
GRAHAM BOYLE
>
What I need is only the... (7 Replies)
Discussion started by: grahambo2005
7 Replies
5. Shell Programming and Scripting
Hi all,
i have a data array as followes.
ARRAY=DFSG345GGG
ARRAY=234FDFG090
ARRAY=VDFVGBGHH
so on..........
i need all english letters to be change to lower case. So i am expecting to see
ARRAY=dfsg345ggg
ARRAY=234fdfg090
ARRAY=vdfvgbghh
so on........
If i have to copy this data in... (8 Replies)
Discussion started by: usustarr
8 Replies
6. Shell Programming and Scripting
Is there a command that can switch a character variable from UPPER case to lower case?
like
foreach AC ( ABC BCD PLL QIO)
set ac `COMMAND($AC)`
...
end
Thanks a lot! (3 Replies)
Discussion started by: rockytodd
3 Replies
7. Shell Programming and Scripting
Hello Unix Gurus :
It would be really appreciative if can find a solution for this .
I have records in a file .
I need to Capitalize the records based on condition .
For Example i tried the following Command
COMMAND -->
fgrep "2000YUYU" /export/home/oracle/TST/data.dat | tr '' ''... (12 Replies)
Discussion started by: tsbiju
12 Replies
8. Shell Programming and Scripting
Hi Friends,
I have a file1.txt as below
I want to convert the date fields in to upper case field3 and field 6
output.txt
Plz help. (2 Replies)
Discussion started by: i150371485
2 Replies
9. Shell Programming and Scripting
Hi All,
I want to change the out put of a decode file from lower to upper. i used tr command but facing issue.
set -vx
id=$(id)
dt=$(date)
store=$1
if ]; then
cd $APPL_TOP/local/bin
cp .sqlpass.Z $$.temp.Z
uncompress $$.temp.Z
sed -e s/sqlpass/$$.sqlpass/ $$.temp >... (5 Replies)
Discussion started by: nag_sathi
5 Replies
10. Shell Programming and Scripting
Hi all,
I am trying to find a way to change first letter in a word from lower case to upper case. It should be done for each first word in text or in paragraph, and also for each word after punctuation like
. ; : ! ?I found the following command
sed -i 's/\s*./\U&\E/g' $@ filenamebut... (7 Replies)
Discussion started by: georgi58
7 Replies
LEARN ABOUT SUSE
tapconvert
TAPCONVERT(1) TAPCONVERT(1)
NAME
tapconvert - convert Twisted configurations from one format to another
SYNOPSIS
tapconvert -i input -o output [-f input-type] [-t output-type] [-d] [-e]
tapconvert --help
DESCRIPTION
The --help prints out a usage message to standard output.
--in, -i <input file>
The name of the input configuration.
--out, -o <output file>
The name of the output configuration.
--typein, -f <input type>
The type of the input file. Can be either 'guess', 'python', 'pickle', 'xml', or 'source'. Default is 'guess'.
--typeout, -t <output type>
The type of the output file. Can be either 'pickle', 'xml', or 'source'. Default is 'source'.
--decrypt, -d
Decrypt the specified tap/aos/xml input file.
--encrypt, -e
Encrypt output file before writing.
--version
Output version information and exit.
AUTHOR
Written by Moshe Zadka, based on tapconvert's help messages
REPORTING BUGS
To report a bug, visit http://twistedmatrix.com/bugs/
COPYRIGHT
Copyright (C) 2000-2008 Twisted Matrix Laboratories.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
July 2001 TAPCONVERT(1)