I have a script which loop through a directory then report any file matches the given pattern,
say, the pattern is "a2006", this file would be returned
a20061101.txt
I would like to know how can I get the remaining of the filename, so
a20061101txt - a2006 = 1101.txt
Can anybody help? Thank... (2 Replies)
Hi All,
I have a set of data and i want to arrange it in a neater way.
Is there any ways i can align each term to the left such that every field start on the same vertical point
Actual Data
111111 bbb dddd zz
111111 bbbbbb dddd zz
111111 bbbbbbbbb dddd zz
111111 aa dddd zzz (2 Replies)
hi
i have a file which is like this :
aab ghj
ghj lsklk
lklkl;
ashjd
kjs
alskj
How do i remove the spaces from the beginning of a line so that all lines are indented to the left? (1 Reply)
Hi
A question about numeric display there...
Is there any option in awk that would prints a number with "left filled with zero" format, and how does it work with variable length definition?
For instance IŽd like my variable to be left filled with 0s for a length of 3 in total:
4 would be... (3 Replies)
I am new to bash scripts I need something quite easy to do in VBS,
When I wanted to get the first 5 chars I used funcition right(5,strGet)
how can I do the same in bash?
I am trying to get the MAC address in Ubuntu I have done so far
ifconfig wlan2 | grep HWaddr | awk '{print $5}' | sed -e... (3 Replies)
We are using this function tmpfile() :
FILE *tmpfp ;
if ((tmpfp = tmpfile()) == NULL)
{
fprintf(stderr, "%s: ERROR: init_operator(): ", ROUTINE);
perror("tmpfile()");
exit(ERR_OPEN);
}
and the above is raising error :
MSMD0603: ERROR:... (3 Replies)
hello all,
i have a proc binary that we run on unix environment, and it is generating this error
'' tstfile(): No space left on device ''
can you please assist on how to narrow down the problem?
thanks (4 Replies)
Here we go with a dumb question.
I am admin for a couple of old aix 5.2 and 5.3 machines and I am wondering if there is a way for me (without driving 500miles) to find out if there is room for additional hard drives in my machine.
Google is once again *sight* helpless... (5 Replies)
Hello people
I have a small fileserver running busybox (very small linux distro with most essential stuff on it) and I am trying to remove some unused directories on it.
When I try this:
rm -R test/I get:
rm: cannot remove 'test': No space left on devicedf shows:
Filesystem ... (8 Replies)
Discussion started by: GTCG
8 Replies
LEARN ABOUT MINIX
picture
Picture(3U) InterViews Reference Manual Picture(3U)NAME
Picture - composite structured graphic
SYNOPSIS
#include <Unidraw/Graphic/picture.h>
DESCRIPTION
A Picture defines a composition of graphic objects. A picture has its own graphics state, which it concatenates with its children's state
when it is drawn or erased. Picture adopts the default concatenation semantics supported by the Graphic base class: The picture's graphics
state effectively overrides its children's so that they are drawn with the picture's state information substituted for their own. A
child's attribute is used only when the picture does not already define it. Moreover, each child's transformer is postmultiplied by the
picture's transformer when the picture is drawn; thus children are drawn relative to the picture's coordinate system.
PUBLIC OPERATIONS
Picture(Graphic* = nil)
Construct a new picture, optionally supply a graphic from which to copy an initial set of graphics state. Picture is derived from
FullGraphic and therefore defines a full set of graphics state.
virtual ~Picture()
The picture deletes its children when it is deleted.
boolean IsEmpty()
Picture defines IsEmpty in addition to the standard Graphic child traversal operations to provide a convenient way to check if the
picture has any children.
PROTECTED OPERATIONS
Graphic* graphic(UList*)
UList* Elem(Iterator)
Convenience functions for extracting a graphic from a UList element and a UList from an iterator.
SEE ALSO Graphic(3U), Iterator(3U), Transformer(3I), UList(3U), pspaint(3U)Unidraw 1 February 1991 Picture(3U)