07-04-2014
File size changes on replacement of certain numbers
I had a doubt regarding how the file size changes and needed some advice on the same
So I have this file say abc.txt.. Size was 10000. Now inside the file when I go and I replace all the number 7 numerals with number 4 file size changed to 9984. Any idea why and how ??
9 More Discussions You Might Find Interesting
1. Solaris
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies
2. Shell Programming and Scripting
Howdy experts,
We have some ranges of number which belongs to particual group as below.
GroupNo StartRange EndRange
Group0125 935300 935399
Group2006 935400 935476
937430 937459
Group0324 935477 935549
... (6 Replies)
Discussion started by: thepurple
6 Replies
3. Solaris
Hi,
We currently have an Oracle database running and it is creating lots of processes in the /proc directory that are 1000M in size. The size of the /proc directory is now reading 26T. How can this be if the root file system is only 13GB?
I have seen this before we an Oracle temp file... (6 Replies)
Discussion started by: sparcman
6 Replies
4. Shell Programming and Scripting
#!/bin/sh
##########################################################################################################
#This script is being used for AOK application for cleaning up the .out files and zip it under logs directory.
# IBM
# Created
#For pdocap201/pdoca202 .out files for AOK
#1.... (0 Replies)
Discussion started by: mridul10_crj
0 Replies
5. Shell Programming and Scripting
Hi Experts,
I have a script like
$ORACLE_HOME/bin/sqlplus username/password # << ENDSQL
set pagesize 0 trim on feedback off verify off echo off newp none timing off
set serveroutput on
set heading off
spool Schemaerrtmp.txt
select ' TIMESTAMP COMPUTER NAME ... (5 Replies)
Discussion started by: welldone
5 Replies
6. Shell Programming and Scripting
Hello All,
I am having problem to find what is the smallest number from 90% of highest numbers from all numbers in file. I am having file with thousands of lines and hundreds of columns.
I am familiar mainly with bash but I am open to whatever suggestion witch will lead to the solutions.
If I... (11 Replies)
Discussion started by: Apfik
11 Replies
7. Programming
Hi,
Can I find size of the file from size of the buffer written?
nbECRITS = fwrite(strstr(data->buffer, ";") + 1, sizeof(char), (data->buffsize) - LEN_NOM_FIC, fic_sortie);
Thank You :) (1 Reply)
Discussion started by: ezee
1 Replies
8. UNIX for Dummies Questions & Answers
I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms.
Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies
9. Shell Programming and Scripting
Hi again. Sorry for all the questions — I've tried to do all this myself but I'm just not good enough yet, and the help I've received so far from bartus11 has been absolutely invaluable. Hopefully this will be the last bit of file manipulation I need to do.
I have a file which is formatted as... (4 Replies)
Discussion started by: crunchgargoyle
4 Replies
LEARN ABOUT DEBIAN
billard-gl
BILLARD-GL(6) Games Manual BILLARD-GL(6)
NAME
billard-gl - OpenGL billiards game
SYNOPSIS
billard-gl [options]
DESCRIPTION
This manual page documents the billard-gl program. This manual page was written for Debian because the original program does not have a
manual page.
billard-gl implements a game of 8- or 9-ball billiards, which you can play against the computer or a friend. The general idea of billiards
is to hit the coloured balls with the cue ball in such a way that these balls fall in one of the six pockets of the table.
OPTIONS
-f -fullscreen
switches to fullscreen mode (can currently not be changed from inside billard-gl itself)
-f -windowed
switches to windowed mode (default; can currently not be changed from inside billard-gl itself)
-t VALUE
texture size for the balls. Valid values are 1 for full size textures, 2 for half size textures, 4 for quarter size textures, and 8
for eighth size textures.
-tt VALUE
texture size for the table. Valid values are 1 for full size textures, 2 for half size textures, 4 for quarter size textures, 8 for
eighth size textures, and 0 for no textures.
-at VALUE
texture size for the display. Valid values are 1 for full size textures and 2 for halfsized textures.
-g VALUE
ball geometry; odd numbers >= 3. Higher values create more complex geometry.
To run billard-gl with minimum settings, try
billard-gl -t 8 -tt 0 -at 2 -g 3
or for maximum settings, try
billard-gl -t 1 -tt 1 -at 1 -g 11
All of the options are configurable from within billard-gl itself, unless stated otherwise.
AUTHOR
billard-gl was written by Stefan Disch, Tobias Nopper and Martina Welte.
This manual page was written by Jamie Wilkinson <jaq@debian.org> and updated by Thierry Reding <thierry@doppeltgemoppelt.de> for Debian
(but may be used by others).
January 22, 2005 BILLARD-GL(6)