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)
i have this piece of small code that checks for *.CSV files.
NUMFILES=`ls -1 *.CSV | wc -l`
for filename in $(ls -1 *.CSV)
do
...
done
it works only if the files has an uppercase of *.CSV extension. however, when there is a file of the same type but has lowercase *.csv... (1 Reply)
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)
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)
Hello Guys,
I am writing a script which check each line for how many Uppercase and Lowercase letter of a given file. Please check my script as follow:
l=0
while read line
do
echo Line `expr $l + 1` has ` tr -cd "" < $line | wc -c` uppercase letters and
`tr -cd "" < $line | wc -c`... (3 Replies)
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)
I have a file name :
var=UsrAccChgRpt
I want to make them upper case.
Tried:
$var | tr
Error:
tr: Invalid combination of options and Strings.
Usage: tr | -ds | -s | -ds | -s ] String1 String2
tr { -d | -s | -d | -s } String1
Could you please help. I am using AIX... (2 Replies)
Discussion started by: digioleg54
2 Replies
LEARN ABOUT DEBIAN
awsetbg
AWSETBG(1)AWSETBG(1)NAME
awsetbg - awesome wrapper tool to set background
SYNOPSIS
awsetbg [-fctaFCTA wallpaper] [-uU wallpapersetter] [-m #] [-bB fbsetrootoptions ...] [-rR path] [-l]
DESCRIPTION
awsetbg is a wrapper that tries to find a suitable background setting application and then tries to set the wallpaper using that
application. You do not have to configure awsetbg, since it just uses the first application it finds.
Furthermore, it remembers the last wallpaper set, so you do not have to edit anything to change the wallpaper.
OPTIONS -f file
Set fullscreen wallpaper.
-c file
Set centered wallpaper.
-t file
Set tiled wallpaper.
-a file
Set maximized wallpaper, preserving the aspect ratio. If the application chosen does not support this option, fullscreen is used as
fall back.
-u wallpapersetter
Use the specified wallpaper setter tool.
-r directory
Set a random wallpaper from this directory.
-F, -C, -T, -A, -U, -R
Same as the lowercase options, but without remembering.
-l
Set the previous wallpaper. If the random feature was the last used, it will set another random wallpaper from this same directory.
-i
Display useful information about the best application to set the wallpaper found.
-m #
Use montage to create a big image (image should fit screen size). Requires montage(1). # is the number of screens (columns in montage).
-p
Display useful tips.
-h
Display help message.
FILES
$XDG_CACHE_HOME/awesome/lastwallpaper or $HOME/.cache/awesome/lastwallpaper files contains the last wallpaper set to use with the -l
option.
ENVIRONMENT VARIABLES
wpsetters
Wallpaper setters to use.
DISPLAY
Display you want to set the wallpaper on.
SEE ALSO awesome(1)AUTHORS
Julien Danjou <julien@danjou.info[1]> and others. awsetbg is derived from fbsetbg which was written by Han Boetes <han@fluxbox.org[2]>.
WWW
http://awesome.naquadah.org
NOTES
1. julien@danjou.info
mailto:julien@danjou.info
2. han@fluxbox.org
mailto:han@fluxbox.org
07/16/2012 AWSETBG(1)