Avoid locking between two files:


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Avoid locking between two files:
# 8  
Old 10-10-2013
Hi RudiC
there is only one script but we have multiple source feeds..so every feed has 10 set of files..so there is some interdependency on two files and these files exist in diff source feeds..so i run that main script and all feed's files loaded parallely but when ever those two inter dependent files come together it gets lock and i get an error..so i am not getting any problem loading two files together in db rather i am getting prob while reading those files simultaneously from my main script..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

How to avoid errors when moving files in a bff?

I am building a bff using mkinstallp. My template file is : Package Name: svr_exForum Package VRMF: 7.2 Update: N Fileset Fileset Name: svr_exForum.rte Fileset VRMF: 7.2 USRLIBLPPFiles Pre-installation Script: /lppdir/lpp/exForum/F_pre_i ... (2 Replies)
Discussion started by: kevinl
2 Replies

2. Ubuntu

Avoid typing long filenames in terminal, shortcut for selecting files?

You probably know the answer to this, because I know it exists. I have super long filenames with md5 hashes and I sucks to type the whole hash in the console. Because... just because :P What is the shortcut for selecting a file in the current directory? Like you get a sort of loop through the... (1 Reply)
Discussion started by: hellfire1
1 Replies

3. Shell Programming and Scripting

Joining 3 AWK scripts to avoid use "temp" files

Hi everyone, Looking for a suggestion to improve the below script in which I´ve been working. The thing is I have 3 separated AWK scripts that I need to apply over the inputfile, and for scripts (2) and (3) I have to use a "temp" file as their inputfile (inputfile_temp and inputfile_temp1... (2 Replies)
Discussion started by: cgkmal
2 Replies

4. UNIX for Advanced & Expert Users

Samba - prevent locking of selected files over network?

I have a samba server which is serving a mixture of files. One main application uses a data file and creates a temporary working execution file at startup and holds that temp execution file open for the duration of the program's execution (but doesn't use the file at all after initial startup). ... (0 Replies)
Discussion started by: humbletech99
0 Replies

5. Shell Programming and Scripting

How to avoid duplication within 2 files?

Hi all, Actually 2 files are there - file1, file2. file1 contains ---> london mosco america russia mosco file2 contains --> europe india japan mosco england london Question is I want to print all the city names without duplication cities in those... (10 Replies)
Discussion started by: balan_mca
10 Replies

6. Shell Programming and Scripting

How to Avoid intermediate files when pipe does nt work

problem with piping one output to another.Would like to avoid the intermediate file creation.The piping does nt work on places where files have been created and goes in an endless loop. sed -e "s/^\.\///g" $LINE1| sed -e "s/_\(\)/kkk\1/g" > $file1 tr -s '_' ' ' < $file1| \ sort -n -k... (1 Reply)
Discussion started by: w020637
1 Replies

7. Shell Programming and Scripting

Avoid files being archived

hi all, i want to write a shell script which can automatically touch my all files within a folder in an interval of 90 days ...so that i can avoid them being archived. I don't want to manually touch the all files instead i want an automated shell script to do this. Thanks in advance, Om (3 Replies)
Discussion started by: koti
3 Replies

8. Programming

What is the proper way to combine C++ files (with g++) to avoid link (ld) errors?

Problem background: gcc v 4.1 2 .cpp files, 2 .h files Files: main.cpp a.cpp a.h b.h Organization: main.cpp includes a.h (because it calls a.cpp code) a.cpp includes a.h a.h includes b.h (because a class in a.h uses a b.h class) There is no inheritance between a.h or b.h or any of... (1 Reply)
Discussion started by: johnqsmith
1 Replies

9. Ubuntu

Avoid creating temporary files on editing a file in Ubuntu

Hi, My ubuntu flavor always create temporary files having filename followed by ~ on editing. For eg: if I am editing a file called "sip.c", automatically a temporary (bkup) file is getting created with the name "sip.c~". How to avoid this file creation? (7 Replies)
Discussion started by: royalibrahim
7 Replies
Login or Register to Ask a Question
NRSS(1) 							       NRSS								   NRSS(1)

NAME
NRSS - An ncurses RSS reader DESCRIPTION
NRSS is an RSS reader built to use minimal amounts of external libraries, using a minimal interface while maintaining a featureful client. COMMAND LINE USAGE
-h Simple help -v Print version -c [num] Set number of columns -D [path] Set the configuration directory (default: ~/.nrss/) -C [path] Set the configuration file (default: ~/.nrss/config) -F [path] Set the feed directory (default: ~/.nrss/feeds) -L [path] Set the log file (default: ~/.nrss/log) INTERNAL USAGE
Within the program you can use the following (default) keys. These can be changed in your configuration file by using the "key" command. UP or DOWN Select previous or next item/feed (next) (prev) PGUP or PGDOWN Goto previous or next feed (next-feed) (prev-feed) h Display usage (toggle-usage) C Toggle collapse all feeds (toggle-collapse-all) Space Collapse a feed or read a story (default) g Use the defined browser to goto the item's URL (goto) x Show all items in feed (toggle-expand) r Refresh the current feed (refresh) R Refresh all (refresh-all) M Mark all read (mark-all-read) D Redraw screen (redraw) q Quit NRSS (quit) CONFIGURATION
The ~/.nrss/config file is where all of the configuration is. You can start by using the example config below. EXAMPLE CONFIG
default_rate "5" default_show "30" default_maxitems "50" #Add some feeds add "http://rss.slashdot.org/Slashdot/slashdot" "Slashdot" add "http://www.digg.com/rss/index.xml" "Digg All" add "http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml" "BBC" add "http://www.osnews.com/files/recent.xml" "OSNews" add "http://distrowatch.com/news/dw.xml" "DistroWatch" #Change rate for Slashdot rate "30" "Slashdot" #These aren't defaults, but examples browser "/usr/bin/elinks %u" #Text browsers should enable this browser_wait "1" FILES
~/.nrss/config Main configuration file. For advanced usage, see the online configuration documentation: http://codezen.org/nrss-config ~/.nrss/log Everyday log file. ~/.nrss/feeds/ This is where the raw XML is stored. BUGS
None known, but it's not outside of the realm of possibility =P. HOMEPAGE
http://codezen.org/nrss AUTHOR
Jack Miller <jjm2n4@umr.edu> Version 0.3.9 26 February 2008 NRSS(1)