08-27-2009
No these are not in unix. this is on windows box.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
ok, well i never could get my internet connection setup in linux so now it is just wasting space on my system...
so, how do i get rid of it and the extra partition made during install?? (1 Reply)
Discussion started by: justchillin
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
It's my first time here... anyways, I have a simple problem with these filenames. This is probably too easy for you guys:
ABC_20101.2A.2010_01
ABD_20103.2E.2010_04
ABE_20107.2R.2010_08
Expected Output:
ABC_20101
ABD_20103
ABE_20107
The only pattern available are the ff:
1) All... (9 Replies)
Discussion started by: Joule
9 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a .csv file which as empty lines with comma and some special characters in 3rd column as below.
Source data
1,2,3,4,%#,6
,,,,,,
1,2,3,4,5,6
Target Data
1,2,3,4,5,6I need to remove blank lines and special charcters
I am trying to get this using the below awk
awk -F","... (2 Replies)
Discussion started by: shruthidwh
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I have a text file that looks like:
ABC123|some text|some more text|00001
00002
0003
0004
000019|000003|Item
I have searched and found an example to remove the extra new line characters using grep and sed, but it (I think) assumes the lines start with a number and the... (5 Replies)
Discussion started by: c56444
5 Replies
5. UNIX for Dummies Questions & Answers
I use an extremely simple TAR function for files at work and I have a question about cleaning them up.
My command is TAR -cvf ExampleTarName.tar then the folder I wish to TAR.
When my TAR finishes and I double click it to check it unarchived beautifully (I don't do this with every file, duh)... (5 Replies)
Discussion started by: Dogtown24
5 Replies
6. Shell Programming and Scripting
hi,
i need to remove the extra spaces in the filed.
Sample:
abc~bd ~bkd123 .. 1space
abc~badf ~bakdsf123 .. 2space
abc~bqed ~bakuowe .. 3space
output:
abc~bd ~bkd123 .. 1space
abc~badf~bakdsf123 .. 2space
abc~bqed~bakuowe .. 3space
i used the following command, (2 Replies)
Discussion started by: anshaa
2 Replies
7. Shell Programming and Scripting
hi,
i need to remove the extra spaces in the 2nd field.
Sample:
abc|bd |bkd123 .. 1space
abc|badf |bakdsf123 .. 2space
abc|bqe |bakuowe .. 3space
Output:
abc|bd|bkd123
abc|badf|bakdsf123
abc|bqe|bakuowe
i used the following command, (9 Replies)
Discussion started by: anshaa
9 Replies
8. Shell Programming and Scripting
In each line of file, I wish to check if word1 is a non-connected subset of any of the other words in the line. If yes, keep only the words that ward1 is a subset of. Else, remove the whole line.
Also, I want to remove the letters that word1 doesn't match with, except for "_+"
Example file:... (2 Replies)
Discussion started by: Viernes
2 Replies
9. Shell Programming and Scripting
I have a file where data looks like this:
===
<?xml version="1.0" encoding="utf-8"?>
<xml xmlns:s='uuid:XYZ'
xmlns:dt='uuid:ABC'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
<s:ElementType name='row'... (7 Replies)
Discussion started by: vx04
7 Replies
10. Shell Programming and Scripting
Hi,
Searching through forum I found "sed 's/*$//'" can be used to remove trailing whitespaces and tabs from file. The command works fine but I see minor issue as below. Can you please suggest if I am doing something wrong here.
$ cat a.txt
upg_prod_test
upg_prod_new
$ cat a.txt |sed... (11 Replies)
Discussion started by: bhupinder08
11 Replies
LEARN ABOUT BSD
dmxchangedesktopattributes
DMXChangeDesktopAttributes(3) Library Functions Manual DMXChangeDesktopAttributes(3)
NAME
DMXChangeDesktopAttributes - change global bounding box
SYNOPSIS
#include <X11/extensions/dmxext.h>
int DMXChangeDesktopAttributes(Display *dpy,
unsigned int mask,
DMXDesktopAttributes *attr);
DESCRIPTION
DMXChangeDesktopAttributes() resizes the bounding box of the whole screen when using the Xinerama extension. Otherwise, it has no effect
on the screen layout. An attribute mask is placed in mask and the attributes to change are placed in attr.
The values that are used to compute mask are as follows:
DMXDesktopWidth
DMXDesktopHeight
DMXDesktopShiftX
DMXDesktopShiftY
The DMXDesktopAttributes structure is:
typedef struct {
unsigned int width;
unsigned int height;
int shiftX;
int shiftY;
} DMXDesktopAttributes;
width and height specify the new width and height for the bounding box. shiftX and shiftY specify where the Xinerama origin will be
placed with respect to the origin of the new bounding box. This allows the left and upper edges of the bounding box to be changed without
changing the visual position of the windows on the desktop. If width or height is not specified, the current values will be used. If
shiftX or shiftY is not specified, 0 will be used.
All coordinates are in the global DMX coordinate system. If Xinerama is not active, an error will be generated.
RETURN VALUE
DMXChangeDesktopAttributes() will return 0 on success, DmxBadXinerama if Xinerama is not active, DmxBadValue if the size of the bounding
box is too large, and DmxBadReply if there was a protocol error.
DMXChangeDesktopAttributes() can generate BadLength (if the request is malformed, which should never happen when using this library inter-
face), and BadValue (if any values are out of range).
SEE ALSO
DMXGetDesktopAttributes(3), DMX(3), Xdmx(1)
X Version 11 libdmx 1.1.2 DMXChangeDesktopAttributes(3)