I have been messing with a2ps in order to print a text file I have that has 130 columns by 80 rows per page. It appears that a2ps automatically scales the number of rows based upon the number of columns I try to print.The file prints properly for the columns but a2ps scales the rows to be 97 rows per page. So the 80 rows print but the next 17 rows are blank. It is not scaling the font for for 80 rows.
I bet this is a Perl one-liner (or very simple python script).I have a tab separated files in which each row looks like:Unique_Eight_Character_Sequence [3 tabs] data1~moredata1~moredata1 [3 tabs] data2~ moredata2~ moredata2 ... dataN~.The output file should have each column converted into a row (with the unique character sequence copied in for the first column), and then each "~" replaced by a comma.
I need to create an out put file, last two columns as a row of data (using the first columns as heading) with the file name as first row. For an example the out put file should look like; system_name,0900_in,1000_in,1100_in,1200_in,1300_in,1400_in,0900_out,1000_out,1100_out,1200_out,1300 _out,1400_out system1,15,17,19,21,23,25,24,26,28,30,32,34
I need to run a script to do above conversion. Need your help.
I've been hitting my head against a wall for awhile with this one:As the last part of some data analysis I performing I would to construct a matrix from a series of different files. These files have the format:
In linux terminal; how can we get the number of rows ad columns from linux kernel? I tried from environment variables(LINES,COLUMNS) but, I could not retrieve them as my editor program is a child process to linux terminal process.
if there's a tab-delimited file under /usr/desktop, how can I determine the number of rows and columns of the file in shell?And, if told the the 3rd column of the file contains only numerical values and all values in the 5th column are unique, how can I verify these in shell?
I have a card project in OpenOffice Draw. In this project is a bitmap with the year 2009 embedded in it. I want to change that to read 20 and I can place the current year as a text layer on top of it.
I have a grid laid out on this bitmap, and I have overlaid text information such as date, time and frequency.
I got hold of the bitmap and cut it, leaving my data there but the form behind it missing. I pasted that into gimp and did the editing, saved it as a .bmp file and loaded that into Draw. I copied the bitmap from this bmp file and pasted it back into my card project.
The bitmap is now sitting on top of my data and I want to send it to the rear so my data sits on top of it.
I can not find a single reference to how to send layers to the front or to the back in OpenOffice Draw.
Launchpad.net is a way to get help online, but I am completely lost on that site, so I am asking here on the Ubuntu forum.
This suite contains a database which is pure ****; it will not import a simple csv file of 684k rows in my 64 bit linux laptop, but the same file loads flawlessly in windows 32 bit access 2002.
I would like to store JPG files in a mysql database table. I figured that using BLOB fields on the one hand and the 'load_file' command on the other would do the trick. Here is how I set up the table:
mysql> create table blobtable (id int(10) not null auto_increment, fileName varchar(15) not null, file longblob not null, primary key(id) ); Query OK, 0 rows affected (0.51 sec)
Then I tried to enter the data: mysql> insert into blobtable(filename,file)values('pic',load_file('/var/www/temp/IMGP4764.JPG'));
Which got me the following error signal: ERROR 1048 (23000): Column 'file' cannot be null
It seems to me that the file path to the JPG file (although correct) is the source of the problem, and is causing the load_file command not to work. My first attempt was with the JPG file in my PC's home directory. When that returned the same error message, I figured that maybe the file had to be in the PC's (server's) web area so I put it under the 'www' directory.
my database (PostgreSQL) has ever funtioned OK, but today don't let me insert a new row in a table and the record itsn't duplicated. I did a vacuum full and reindex the database and the problem continue. I don't know what the fuck is happening
I tried to create a report from a table which contains text and image fields. The created report show text fields well but only empty fields as Images. How can I do that?
Using Debian Lenny Openoffice 2.4 I have a Table of Contents that I need to edit. Some of the levels are out. It has 7 parts. Part 3 is buried under Part 2. Is there a way to fix this and bring out Part 2 to be a main heading in the Table of Contents? Is there an easy way to do this, or do I need to edit the entire Table? The entries in the Table are linked throughout the document. I've looked at a few tutorials on the Internet, but am still uncertain about how to do this.
I have a document with page numbers in the Table of Contents in Roman Numurals. I would like to change them to numbers 1, 2, 3. How would I do this? I'm not finding any help on the Internet and in Openoffice help. If I change the numbers manually, they will revert back when I update the Table of Contents.
i need to prepare a presentation for that i have to copy a table from [URL] to my power point slide. but when i am copying it i am just getting a table with single column. is there a method to import the contents from web page table to my presentation table?
Kmail 1.13.2 Problem on startup, error is from nepomuk, data storage. "cannot find Redland backend, nepomuk is disabled until fixed. Also see the following error from the akonadi console:
100503 10:00:15 [Note] Plugin 'ndbcluster' is disabled. 100503 10:00:15 InnoDB: Started; log sequence number 0 31413862 100503 10:00:15 [Warning] Can't open and lock time zone table: Table 'mysql.time_zone_leap_second' doesn't exist trying to live without
I have Wacom Bamboo Fun Pen & Touch pen tablet and I'd like to use it to draw on the top of the screen.. For example if I have Evolution opened on the screen, I want use my pen tabled to draw with freehand on the top of Evolution. Did you understand? Is there any small application which allows to do that?
i am using Kubuntu 9.04 with KDE4 installed. I created some bash scripts and used Kdialog to display the graphical items and other things, only the progressbar in Kdialog, I am unable to use. I read the tutorial in KDE's website but still it shows me an error saying "ERROR: Couldn't attach to DCOP server!".
I need a program (to draw or paint patents like the example below Example: http://www.google.com./patents?id=-K...page&q&f=false
I remember that the Word version of Windows XP had tools to create drawings but I can not find (or help) equal tools in Ubuntu Ooo. Also, Windows has the "Paint" program that I used (pasting Word drawings) to erase, create mirror-effects, etc
Can somebody recommend me a good program (not CAD way) for simple drawings for patents?
if this isnt correct place to ask my question, forum seems large and im not familiar with it yet. I would like to draw to windows with conky. I allready have an idea with launching conky ~/. config1 & conky ~/.config2 and this should work but is it possible to have 2 conky windows without launching second instance of conky ?
Is there a difference between using GPT partition table when formating hard drives and MS-DOS partition table? What are the advantages/disadvantages of using either?
I'm trying to install a language-pack for my OpenOffice, but there seems to be a dependency-problem. Maybe someone has a suggestion. FC12, x64 OOo.x64 3.1.1
Does anyone know an application that can draw UML graphs automatically from Java code for linux platform. I've tried startuml, but in doesn't work very well.