Sponsored Content
Operating Systems Linux Ubuntu Avoid creating temporary files on editing a file in Ubuntu Post 302146017 by royalibrahim on Friday 16th of November 2007 06:47:53 AM
Old 11-16-2007
No cbkihong, it is not working. I have created a file ~/.vimrc (which was not there initially) and then written "set nobk" and also tried writing ":set nobk". Both are not solving my problem. Any more work around?
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Temporary files and rm

Hello everyone, I am creating a temporary file in my ksh by using something file filetemp=filetemp.$$ Later on in my script I write to the file $filetemp by 'cat'ing to it. Then in the script I am doing a 'less' on the file to view it. At the end of the script I issue a rm $filetemp 2>... (4 Replies)
Discussion started by: gio001
4 Replies

2. UNIX for Advanced & Expert Users

creating a file by editing another one?

BASH shell: I'm trying to create a copy of the /etc/passwd file named "./copy-passwd" that contains only the entries for userids that have a home directory in /home/inst, and then change each entry in the copy so that the default login shell is /bin/sh. Would "sed" be the best choice of file... (1 Reply)
Discussion started by: raidkridley
1 Replies

3. Shell Programming and Scripting

Help - Bug: A script to compile two types of data files into two temporary files

Dear other forum members, I'm writing a script for my homework, but I'm scratching all over my head and still can't figure out what I did wrong. Please help me. I just started to learn about bash scripting, and I appreciate if anyone of you can point out my errors. I thank you in advance. ... (3 Replies)
Discussion started by: ilove2smoke
3 Replies

4. Shell Programming and Scripting

Rsync temporary files

Hi, I am looking to use rsync in a very specific way, and even though I have trawled the rsync man pages I have not succeeded in seeing a way of doing the following: The temporary files created by rsync should not be created in the destination directory. (I have used --temp-dir option to... (0 Replies)
Discussion started by: LostInTheWoods
0 Replies

5. UNIX for Advanced & Expert Users

Which time should be used for deleting temporary files?

I want to create a folder for users to put their temporary files and a folder for users to put their permanent files. For the temporary folder, I need to implement a deletion policy. I would like to know normally which time, ctime, mtime or atime, should be used to implement such deletion policy. (1 Reply)
Discussion started by: marctc
1 Replies

6. AIX

Hidden temporary files in AIX

Hi, Some porocess is creating hidden temporary files in /tmp directory. And they are not getting deleted. System is going out of disk space after some days. The temp files are getting created like .<user name><pid>. I have checked the application code, but didnt get any clue. Does these files... (4 Replies)
Discussion started by: viswath.sen
4 Replies

7. Solaris

Video capture and editing on Solaris vs Debian vs Ubuntu

I am interested in doing some heavy video work. I have a ADVC 110 Video capture device, which I am using to capture VHS video tapes, which I will convert on the server to DVD format and burn to DVD's using DVD production software. I will also take the captured video file and split it up in parts... (1 Reply)
Discussion started by: Marcus Aurelius
1 Replies

8. Programming

[c]Why first file is creating after the second. How to avoid

Hi, My Code is as below: nbECRITS = fwrite(strstr(data->buffer, ";") + 1, sizeof(char), (data->buffsize) - LEN_NOM_FIC, fic_sortie); fclose(fic_sortie); sprintf(PATH_BALISE, "%s.balise", PATH); fic_balise_data = fopen(PATH_BALISE, "a+"); if (fic_balise_data == NULL) {... (1 Reply)
Discussion started by: ezee
1 Replies

9. Shell Programming and Scripting

File editing with out creating a new file

I need edit some characters in a file, but without creating intermediatory file and also one liner. I tried: cat foo.txt | sed '/s/abc//g' > foo.txt cat foo.txt | sed '/s/abc//g' >> foo.txt First one is making foo.txt to zero byte, while second one is appending my desired output... (4 Replies)
Discussion started by: karumudi7
4 Replies
mccs(1) 						       Debian User's Manual							   mccs(1)

NAME
mccs - package dependency solver SYNOPSIS
mccs [options] DESCRIPTION
mccs (which stands for Multi Criteria CUDF Solver) is a solver for package dependency problems expressed in the CUDF format. By default, mccs reads a problem specification from standard input, and writes the solution to standard output. OPTIONS FOR CONTROLLING INPUT
/OUTPUT -i file Read input from file file instead of standard input. -o file Write the solution to file instead of standard output. -fo full solution output -v n set verbosity level to n. -h print this help OPTIONS FOR SELECTING THE SOLVER ENGINE
By default, mccs uses the cbc solving engine. -lpsolve use lpsolve solver -lp lpsolver specify a solving engine that takes the cplex input format. lpsolver is the path of a script that takes as input the file name con- taining the cplex input, and that produces the solution on standard output (an example for scip is given in /usr/share/doc/mccs/engines/sciplp). -pblib pbsolver use pseudo-Boolean solver pbsolver as solving engine. -nosolve do not solve the problem (for debugging) OPTIONS FOR CONTROLLING CONSTRAINT GENERATION
-noreduce do not reduce the initial problem -only-agregate-constraints generate only agregate constraints -only-desagregate-constraints generate only deagregate constraints (default) -all-constraints generate all kind of constraints (ensure redundancy) OPTIONS FOR CONTROLLING OPTIMIZATION
See the file /usr/share/doc/mccs/README.optimization-criteria for a full grammar of optimization criteria. EXAMPLES
An example input file can be found at /usr/share/doc/mccs/examples/legacy.cudf. mccs -i legacy.cudf calls mccs on examples/legacy.cudf and prints the solution on stdout. With such a call mccs will resort to the default underlying solver cbc and use a default criterion to solve the problem. mccs -i legacy.cudf -o sol -lexagregate[-removed,-changed] -lpsolve Here, mccs puts the solution into the file "sol" and solves the problem using the lpsolve solver with the paranoid criterion, which con- sists of first minimizing the number of removed packaged, and then the number of packages that change installation status or installed ver- sion. mccs -i legacy.cudf -o sol -lexsemiagregate[-removed,-notuptodate, -nunsat[recommends:,true],-new] The criterion used here is the trendy criterion, which consists of first minimizing the number of package removals, then to minimize the number of installed packages that are installed in a version older the most recent available version, then to minimize the number of recom- mendations of installed packages that are not satisfied, and finally the number of newly installed packages. AUTHOR
mccs has been written by Claude Michel <cpjm@polytech.unice.fr>. The development of mccs has been partly supported by the European research project Mancoosi. 9 May 2011 mccs(1)
All times are GMT -4. The time now is 08:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy