10-03-2012
If you need to know what program is actively using a file, try installing lsof (or get your Admins to do this).
If you want to see who modified (past tense) a file, you will need some sort of accounting or auditing enabled.
This will be trickier than you think I imagine.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I want to add a special character ^M to a line, if the line starts with ORDE.
All the other lines should remain unchanged.
Is there sed or other UNIX function who can do this.
Thanx in advance
Auke Quist (3 Replies)
Discussion started by: aukequist
3 Replies
2. Shell Programming and Scripting
All,
I know this is a very naive question but I could not find a way to get this working!
I have a file with values like
input.file
Value1
Value2
server1/mylogin,mypasswd
Value3
Value4
And in my code, I am reading the file line by line and processing it.
#! /bin/ksh... (6 Replies)
Discussion started by: bharath.gct
6 Replies
3. Shell Programming and Scripting
I have a text file like this:
subject1:LecturerA:10
subject2:LecturerA:40
if I was given string in column 1 and 2 (which are subject 1 and LecturerA) , i need to update 3rd field of that line containing that given string , which is, number 10 need to be updated to 100 ,for example.
The... (6 Replies)
Discussion started by: bmtoan
6 Replies
4. Shell Programming and Scripting
I need assistance with following requirement, I am new to Unix.
I want to do the following task but stuck with file creation date(sysdate)
Following is the requirement
I need to create a script that will read the abc/xyz/klm folder and look for *.err files for that day’s date and then send an... (4 Replies)
Discussion started by: PreetArul
4 Replies
5. Shell Programming and Scripting
Gents,
Kindly can you help me to update a file extracting the data from other file.
I have:
file1
The key in this file is substr($0,4,21), and I need to update the columns 6 and 7 using the information for file2.
S 21133.00 21535.00 1 0 919088.8 1843754.5 ... (2 Replies)
Discussion started by: jiam912
2 Replies
6. Shell Programming and Scripting
Hi,
I have a xml file that I need to modify 1 line to change some value from 2 to 10 (or any number).
Sample input:
<!-- some text here>
.
.
.
<message:test name="ryan">
<message:sample-channel charset="UTF-8" max-value="2" wait="20">
... (5 Replies)
Discussion started by: brichigo
5 Replies
7. UNIX for Advanced & Expert Users
i have a directory where all .csv files are available. i have 3 perl programs(ex: a.pl,b.pl,c.pl) which continuously runs every 1 minute to scan all files in that directory. now i have 2 questions
1) how can i write an app lock on that particular folder to make sure only one program will scan... (4 Replies)
Discussion started by: sbjv
4 Replies
8. Shell Programming and Scripting
I am trying to use awk to match the NM_ in file with $1 of id which is tab-delimited. The NM_ will always be in the line of file that starts with > and be after the second _. When there is a match between each NM_ and id, then the value of $2 in id is substituted or used to update the NM_. Each NM_... (3 Replies)
Discussion started by: cmccabe
3 Replies
9. Shell Programming and Scripting
I have an input file with
A=xyz
B=pqr
I would want the value in Second Field (xyz or pqr) updated with a value present in Shell Variable based on the value passed in the first field. (A or B )
while read line
do
NEW_VALUE = `some functionality done on $line`
If $line=First Field-... (1 Reply)
Discussion started by: infernalhell
1 Replies
LEARN ABOUT DEBIAN
french-deconjugator
french-deconjugator(1) french-deconjugator(1)
NAME
french-deconjugator - analyze conjugated French verbs
SYNOPSIS
echo aime | french-deconjugator > result.txt
DESCRIPTION
french-deconjugator reads conjugated French verbs from the command line or from standard input and writes (to standard output) the verb's
infinitive form, the mode (infinitive, indicative, conditional, subjunctive, imperative or participle), the tense (present, past, imper-
fect, future), the person (1, 2 or 3, while 0 is used for the present participle tense, and 4 and 5 are used in the past participle tense),
and the number (singular or plural). These fields are separated by a comma and a space.
The standard input is not read if verbs are passed as command-line arguments.
By convention, persons 4 and 5 are used in the past participle tense to indicate the gender: 4 means masculine (e.g., "aime" or "aimes")
and 5 means feminine (e.g., "aimee" or "aimees").
A single conjugated form can correspond to more than one mode, tense and person. In this case, each alternative is written on its own
line.
In all cases, the end of the answer is marked by an empty line. If the word is unknown, only this empty line is written. The names for
the mode, tense and number are always in English. (This is meant to facilitate automatic parsing of the output. For a French user inter-
face, see the GNOME application and applet.)
The command flushes its output buffer after finishing each answer. This allows the command to be easily called from another program
through two pipes.
The command starts by loading its database from XML files (stored typically in /usr/share/verbiste). This takes some time, so it is a good
idea to have the command answer many requests instead of running it for each request.
The verbiste library's source archive contains Perl and Java example programs that illustrate this technique.
This commands expects to read Latin-1 characters and writes Latin-1 characters. There must not be any leading or trailing white spaces on
the lines read by the command.
OPTIONS
--help display a help page and exit
--version
display version information and exit
--lang=L
select the language to use (fr for French or it for Italian); French is the default language
--utf8 assume that the terminal uses the UTF-8 encoding instead of Latin-1 (ISO-8859-1); try this option if Verbiste claims not to know a
verb that contains an accented character
--all-infinitives
print the infinitive form of all the verbs in the knowledge base, one per line, unsorted; other command-line arguments are ignored
EXAMPLES
$ french-deconjugator aime
aimer, participle, past, 0, singular
$ echo -ne 'a
plu
ete
' | french-deconjugator
avoir, indicative, present, 3, singular
plaire, participle, past, 0, singular
pleuvoir, participle, past, 0, singular
etre, participle, past, 0, singular
LICENSE
This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no
warranty.
AUTHOR
See the verbiste(3) manual page.
BUGS
See the verbiste(3) manual page.
SEE ALSO
verbiste(3), french-conjugator(1).
April 28th, 2012 french-deconjugator(1)