09-06-2010
thanks
Hi - Thanks for the link. I made some research as well. Actually I implemented a program that works pretty good but some for some commands it is not properly working, perhaps not the right packages. I rather using APIs and packages instead writing each command seperately. Where I got stuck was the pipes, creating and removing files and zipping with gzip. Please let me know the best method if you;re aware. Appreciated.
7 More Discussions You Might Find Interesting
1. Programming
While trying out my hand at writing an interpreter, I was wondering about a a few issues one of which is the following: When I run a command such as jobs in the shell, I get a list of all the background jobs that are running... But if I need my interpreter to run that command, how would I be doing... (34 Replies)
Discussion started by: Legend986
34 Replies
2. UNIX for Dummies Questions & Answers
if somebody can help me pls.
i need the source code for a shell which compiles C or java programs.
i need a very short and simple one, just for the compiling part, in UNIX
Respect (4 Replies)
Discussion started by: zlatan005
4 Replies
3. UNIX for Dummies Questions & Answers
#!/usr/bin/m4
when running m4 scripts with "#!/usr/bin/m4" they are executed properly, but "#!/usr/bin/m4" is printed out - how to avoid it?
Thanks in advance. (5 Replies)
Discussion started by: Action
5 Replies
4. Solaris
I just started learning python on and working on sun solaries,
#!/usr/bin/env python
Is not recognising the intrepreter on my sun solaries could any one please help me find this.
Thanks - Ann:b: (8 Replies)
Discussion started by: Haque123
8 Replies
5. Shell Programming and Scripting
Hi. My name is Caleb (a.k.a RagingNinja) form the whited00r forums. (Whited00r makes custom firmware for iOS devices).
I have been learning and creating simple shells scripts. I have been recently using VIM for Windows or using VirtualBox to run the UBUNTU OS within VirtualBox to create my shell... (2 Replies)
Discussion started by: RagingNinja
2 Replies
6. Linux
Can you explain me what is ment by interpreter files ??
Why and how they are used?? (1 Reply)
Discussion started by: kkalyan
1 Replies
7. UNIX for Dummies Questions & Answers
I am looking for a simple BASIC Interpreter written in a shell scripting language.
For me something like this would be a great learning tool...
After much goggle eyed Googling I came upon this:-
https://gist.github.com/cander/2785819
It is small and I haven't tried it yet as I am at work... (6 Replies)
Discussion started by: wisecracker
6 Replies
LEARN ABOUT DEBIAN
dpkg-checkdeps
DPKG-CHECKDEPS.RB(1) General Commands Manual DPKG-CHECKDEPS.RB(1)
NAME
dpkg-checkdeps.rb - Utility to check deb dependency
SYNOPSIS
dpkg-checkdeps.rb [opts] debfile ...
dpkg-checkdeps.rb [opts] --from packages pkgname...
dpkg-checkdeps.rb [opts] --from --all
dpkg-checkdeps.rb [opts] --check pkgname...
opts: --to packages
--arch arch
--verbose
-q
DESCRIPTION
dpkg-checkdeps.rb checks deb dependency problems when specified deb packages are installed in the target packages list.
OPTIONS
-t packages-file
--to packages-file
Specify target packages-file. If this option is used multiple times, packages lists are appended. If no -t option specified,
default is current installed packages list, that is, /var/lib/dpkg/status.
-f packages-file
--from packages-file
Specify source packages-file. If this option is used multiple times, packages lists are appended. If you use this option, you can
select packages by package-name, or all of them by --all option.
-A
--all Select all packages in source packages-file. You must use this option with --from option.
-a arch
--arch arch
Specify acceptable arch in packages-file. Default is installation_architecture of dpkg.
-c
--check
Check selected packages are satisfied by all packages in target packages.
-v
--verbose
Verbose mode
-h
--help Display some help.
EXAMPLES
% dpkg-checkdeps.rb --arch alpha --to '*/binary-$ARCH/Packages' --from ../proposed-updates/Packages' --all
% dpkg-checkdeps.rb --to '*/binary-$ARCH/Packages' --check libc6
BUGS
There are probably tons of bugs in this program.
This checks only depends, recommends and suggests, doesn't check pre-depends and conflicts, yet.
This program comes with no warranties. If running this program causes fire and brimstone to rain down upon the earth, you will be on our
own.
AUTHOR
Fumitoshi UKAI <ukai@debian.or.jp>.
DEBIAN
Debian Utilities DPKG-CHECKDEPS.RB(1)