This sounds like homework. We have a homework forum.
Anyway, please post homework there. The answer I'm giving you will not be believed by your prof - i.e., she will think you got it off the internet, which is true.
Some simple questions from a simple man.
If i wanted to count the number of files contained within a directory, say /tmp would ls -l /tmp ¦ wc -l suffice and will it be accurate?
second one: How would i check the number of files with a certain string in the filename, in the same directory.
... (2 Replies)
This should be so simple.. I have folder with about 27 subfolders in it, each folder has a number of fonts in it.. how do I get the total number of fonts for all subfolders? (2 Replies)
Hi All,
To start with, I have been reading this site for years, Unfortunately I do not consider myself versed well enough with scripts to provide useful help to others. The Blind cannot lead the Blind!
Many of you have provided me with brain food and solutions over the years without even... (4 Replies)
Hi,
Can anyone tell me how to find out how many bits a c executable was compiled in?
I am trying to do some investigation of running 32bit programs in 64bit systems. (1 Reply)
Help Needed !
Can we count number of folders of specific date in a directory, even if directory has folders of different dates.
Please reply as soon as possible. (1 Reply)
I am trying to display the output of ls and also print the number of characters in EVERY file name. This is what I have so far:
#!/bin/sh
for x in `ls`; do
echo The number of characters in x | wc -m
done
Any help appreciated (1 Reply)
So I have a loop that stated if a directory exists or not. If it does it prints the number of files within that directory. I use this code...
result=`(ls -l . | egrep -c '^-')`
However, no matter which directory I input, it outputs the number "2"
What is wrong here? (4 Replies)
In the past few days have I have done a lot of code cleanup work in various categories, including faster page loading and bug fixes:
Move countless inline style directives to external CSS stylesheets for key pages (faster page loading)
Fixed bug in member panel going between desktop and... (6 Replies)
Discussion started by: Neo
6 Replies
LEARN ABOUT DEBIAN
gnome2::canvas::line
Gnome2::Canvas::Line(3pm) User Contributed Perl Documentation Gnome2::Canvas::Line(3pm)NAME
Gnome2::Canvas::Line - Lines as CanvasItems
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gnome2::Canvas::Item
+----Gnome2::Canvas::Line
PROPERTIES
'arrow-shape-a' (double : default 0 : readable / writable)
'arrow-shape-b' (double : default 0 : readable / writable)
'arrow-shape-c' (double : default 0 : readable / writable)
'cap-style' (Gtk2::Gdk::CapStyle : default "butt" : readable / writable)
'fill-color' (string : default undef : readable / writable)
'fill-color-gdk' (Gtk2::Gdk::Color : default undef : readable / writable)
'fill-color-rgba' (Glib::UInt : default 0 : readable / writable)
'fill-stipple' (Gtk2::Gdk::Drawable : default undef : readable / writable)
'first-arrowhead' (boolean : default false : readable / writable)
'join-style' (Gtk2::Gdk::JoinStyle : default "miter" : readable / writable)
'last-arrowhead' (boolean : default false : readable / writable)
'line-style' (Gtk2::Gdk::LineStyle : default "solid" : readable / writable)
'points' (Gnome2::Canvas::Points : default undef : readable / writable)
'smooth' (boolean : default false : readable / writable)
'spline-steps' (Glib::UInt : default 12 : readable / writable)
'width-pixels' (Glib::UInt : default 0 : readable / writable)
'width-units' (double : default 0 : readable / writable)
ENUMS AND FLAGS
enum Gtk2::Gdk::CapStyle
o 'not-last' / 'GDK_CAP_NOT_LAST'
o 'butt' / 'GDK_CAP_BUTT'
o 'round' / 'GDK_CAP_ROUND'
o 'projecting' / 'GDK_CAP_PROJECTING'
enum Gtk2::Gdk::JoinStyle
o 'miter' / 'GDK_JOIN_MITER'
o 'round' / 'GDK_JOIN_ROUND'
o 'bevel' / 'GDK_JOIN_BEVEL'
enum Gtk2::Gdk::LineStyle
o 'solid' / 'GDK_LINE_SOLID'
o 'on-off-dash' / 'GDK_LINE_ON_OFF_DASH'
o 'double-dash' / 'GDK_LINE_DOUBLE_DASH'
SEE ALSO
Gnome2::Canvas, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gnome2::Canvas::Item
COPYRIGHT
Copyright (C) 2003-2004 by the Gtk2-Perl Team.
This software is licensed under the LGPL; see Gnome2::Canvas for a full notice.
perl v5.14.2 2011-11-16 Gnome2::Canvas::Line(3pm)