04-19-2012
The System I am on is running Solaris 10 - I'll give that a shot right away and let you know.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: Alex20
5 Replies
2. Shell Programming and Scripting
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)
Discussion started by: salman4u
6 Replies
3. UNIX for Dummies Questions & Answers
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)
Discussion started by: wtolentino
1 Replies
4. Shell Programming and Scripting
Hi,
I have the following file:
/* ----------------- ADP2DAILY_Box ----------------- */
insert_job: ADP2DAILY_Box
job_type: b
owner: mbprwork
permission: gx,wx
date_conditions: 1
days_of_week: mo,tu,we,th,fr
exclude_calendar: mtg_holidays
start_times: "1:00"
description: "Process Daily... (4 Replies)
Discussion started by: ramky79
4 Replies
5. Shell Programming and Scripting
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)
Discussion started by: milink
7 Replies
6. Shell Programming and Scripting
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)
Discussion started by: swikar
1 Replies
7. Shell Programming and Scripting
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)
Discussion started by: kasparov
3 Replies
8. Shell Programming and Scripting
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)
Discussion started by: nikki1200
2 Replies
9. Shell Programming and Scripting
i want to display all the files which has their names in the Uppercase in a particular directory...guide.. (6 Replies)
Discussion started by: sheelsadan
6 Replies
10. Shell Programming and Scripting
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
flaw(7) Miscellaneous Information Manual flaw(7)
NAME
flaw - a Lua OO management framework for awesome WM widgets
DESCRIPTION
flaw stands for Fully Loaded AWesome. It is a LUA object oriented library providing a thin abstraction layer above awesome widgets. It is
aimed at being simple and resources efficient.
To achieve these goals, flaw provides the following concepts.
gadgets
To add functionality to awesome widgets, flaw defines gadget objects, which are a wrapper around a widget. All gadgets have proper-
ties, events, a refresh mechanism and a data provider (see below). Gadgets can wrap all awesome widget type, namely text boxes,
image boxes, graphs or progress bars. flaw provides many gadgets for common system information (like CPU or memory activity).
provider
flaw tries to minimise system access and data refresh. Since all information do not have the same expiration rate, all gadgets
refresh independently. And since some gadgets can share information, all data is provided by providers which can be shared among
gadgets. Providers maintain status data from the system and refreshes only when necessary (ie. when the gadget with the shortest
refresh rate demands it).
events Events are a way for the user to modify the gadget behaviour or properties when some conditions are met. An event is composed of a
trigger, which computes the condition, and an action. Event triggers are tested by the providers only when data changes. Both the
condition and the action are provided by the user.
USAGE
flaw depends on the lua-filesystem package which can be found http://luaforge.net/projects/luafilesystem. Once installed, the following
statement must be inserted in awesome configuration before any flaw gadget or mechanism is used.
require('flaw')
Using flaw consists in creating gadgets, passing them parameters to customize their display and events to add some behaviour to them, and
then adding them in a wibox like any other awesome widget. flaw and awful gadgets can live together. The complete flaw documentation is
available in Luadoc format. Enter the following command to generate it.
LUA_PATH="path_toflaw/doclet/html/?;;" luadoc -d html --nofiles *.lua
DIAGNOSTICS
flaw tries to recover upon bad invocations. When something wrong occurs, it outputs warning or error messages to stderr (for example, if
awesome was started with xsession, output will be found in ~/.xsession-errors ).
BUGS
Certainly a lot.
AUTHOR
David Soulayrol <david.soulayrol at gmail dot net>
SEE ALSO
awesome(1), awesome-client(1), awesomerc(5)
FEBRUARY 2009 flaw(7)