you guys are wonderful!! thank you very much .. it worked for me .. with while and the if condition ...
just an additional note .. -r says it cannot update compressed archive (ie .gz) So i only tared the file and at end of while loop , i gzip
its ok for me just for learning .. but is there a better and more elegant way of doing it?
Last edited by Franklin52; 10-14-2012 at 07:14 AM..
Reason: Please use code tags
Hi Everyone, I really hope I could get some insight from a few of you, I've been searching the net for various resources, and this board seems to be the friendliest and most helpful by far.
I work for a medical research company and we use sun 4
and we have different studies that have their... (1 Reply)
OK, so I'm trying to finish my last individual assignment for this course, and it's the first time I've visited a forum (I've actually understood UNIX up to this point). I am having trouble with this one. I have to write a program that prompts the user to type their first name and stores it in a... (3 Replies)
Hi all,
I am a newbie to unix programming using C..
So i would like to have a few simple C programs to start off with..
I wanted programs on learning ,
abort,kill and raise,alarm and pause,I would also like to know how to use the vfork() in a prg
It would be really great if i can have... (1 Reply)
Hello,
I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Hello everyone,
Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware.
I hope I am not missing anything! :p (4 Replies)
Hello everyone,
I am having to do a lot of perl scripting these days and I am learning a lot.
I have this problem
I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files..
there is folder1\folder2\*.gz
and there are about 50 folders... (1 Reply)
Hi,
I am new to programming and also to perl..But i know 'perl' can come to my rescue, But I am stuck at many places and need help..any small help is much appreciated... below is the description of what i intend to acheive with my script.
I have a files named in this format... (13 Replies)
Hi Friends,
This is my first ever post on this forum. I am a new user in the Linux field. Although, I have been working for sometime with CentOS at my work, I would consider myself an amateur only in this field. :D
The way file system works in linux and the reason its open-source, has really... (7 Replies)
Hi,I'm new here and to Unix also. I'm totall newbie.
Here is what I have to do:
-Basics of programming user interface with Xlib library
-Xlib
-Client/Server model of X-Windows system
-Example of "Hello world" with button which changes text ,so that when u click displays another... (4 Replies)
Hello.
I like Linux and C programming language. Allways wanted to understand kernel and become a Linux system programmer. And I also like Objective-C and iOS. These two programming areas have relations:
1. Linux and iOS are UNIX-like systems, POSIX compliant.
2. It is useful to know C language... (2 Replies)
Discussion started by: Rockatansky
2 Replies
LEARN ABOUT LINUX
deb
deb(5) Debian deb(5)NAME
deb - Debian binary package format
SYNOPSIS
filename.deb
DESCRIPTION
The .deb format is the Debian binary package file format. It is understood by dpkg 0.93.76 and later, and is generated by default by all
versions of dpkg since 1.2.0 and all i386/ELF versions since 1.1.1elf.
The format described here is used since Debian 0.93; details of the old format are described in deb-old(5).
FORMAT
The file is an ar archive with a magic value of !<arch>. The file names might contain a trailing slash.
The tar archives currently allowed are, the old-style (v7) format, the pre-POSIX ustar format, a subset of the GNU format (only the new
style long pathnames and long linknames, supported since dpkg 1.4.1.17), and the POSIX ustar format (long names supported since dpkg
1.15.0). Unrecognized tar typeflags are considered an error.
The first member is named debian-binary and contains a series of lines, separated by newlines. Currently only one line is present, the for-
mat version number, 2.0 at the time this manual page was written. Programs which read new-format archives should be prepared for the minor
number to be increased and new lines to be present, and should ignore these if this is the case.
If the major number has changed, an incompatible change has been made and the program should stop. If it has not, then the program should
be able to safely continue, unless it encounters an unexpected member in the archive (except at the end), as described below.
The second required member is named control.tar.gz. It is a gzipped tar archive containing the package control information, as a series of
plain files, of which the file control is mandatory and contains the core control information. The control tarball may optionally contain
an entry for `.', the current directory.
The third, last required member is named data.tar. It contains the filesystem as a tar archive, either not compressed (supported since
dpkg 1.10.24), or compressed with gzip (with .gz extension), xz (with .xz extension, supported since dpkg 1.15.6), bzip2 (with .bz2 exten-
sion, supported since dpkg 1.10.24) or lzma (with .lzma extension, supported since dpkg 1.13.25).
These members must occur in this exact order. Current implementations should ignore any additional members after data.tar. Further members
may be defined in the future, and (if possible) will be placed after these three. Any additional members that may need to be inserted
before data.tar and which should be safely ignored by older programs, will have names starting with an underscore, `_'.
Those new members which won't be able to be safely ignored will be inserted before data.tar with names starting with something other than
underscores, or will (more likely) cause the major version number to be increased.
SEE ALSO deb-old(5), dpkg-deb(1), deb-control(5).
Debian Project 2009-02-27 deb(5)