It will only accept one argument where it should be upper or lowercase. if user choose to convert filnames to upper case than it should convert to upper or vice versa. if no action taken by the user then should not do anything
any of the files in the current directory. (5 Replies)
Hello,
can sed be used to convert all letters of a file from uppercase to lowercase and vice versa?i know tr command can be used but with sed is it possible?
i came up with this :-
sed 'y///' file1
actually the above command is also not working! Please help me. Thanks in advance :) (6 Replies)
Hi,
I need to find all strings in single quote and change the case of the string to UPPER.
Example:
Input:
xyz abc ccc 'zxxx7U'
dfsdf sdfdd aaa 'oR77' and 'or88'
Output:
xyz abc ccc 'ZXXX7U'
dfsdf sdfdd aaa 'OR77' and 'OR88'
Appreciate your help!!
Thanks
Selva (6 Replies)
Hi,
how to convert user input (lowercase) to uppercase in the dos batch file ?
echo.
SET /p user1=Enter username:
SET user2=%user1%V
echo.
echo %user1%
echo.
echo %user2%
echo.
With Regards (7 Replies)
Hi every body!
I wrote script on Fedora (bash shell) to check whether a tring enter from user console is start with a uppercase/lowercase letter or a digit. But with this script i have some problem when I enter from character from 'b' to 'z' --> result is uppercase. This code look like ok but i... (9 Replies)
listprocs.sh contains ps -ef | grep "swikar"
1) Write a shell script to convert an input file to all upper case. Name your shell script toupper.sh.
Hint: tr ' ' ' ' will convert all lower case letters to upper case
To use your script, try the following command:
cat... (1 Reply)
Hi All,
I'm a newbie here, i'm just wondering is it possible to convert into uppercase the records in specific field?
ex.
table name = mytable
field1 field2 field3
abd erfdF fdsfdsfsd
how can i convert into uppercase the field2 using sybase?
Please advise,
... (2 Replies)
Hi All,
So I'm new to scripting and I've been put in a position to convert a bunch of files with specific extensions in a folder and all its subfolders to uppercase including their extension. I figure so far I could do something like this:
...
...
and then input $line into another bash... (12 Replies)
Hello,
Could you please help me how to search the string in a file, and when found; change the existing line to uppercase in command line?
I tried:
?whichcommand? -A "EXT" fileA | awk '{print tolower($0)}' | tee fileB
tr command simply converts entire file to uppercase but this is not what... (4 Replies)