04-02-2010
anbu23,
Thank you, that first command was the one I was looking for. That second command will also come in handy.
Ray
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Gurus,
I need to list only those files which are most recent and the latest log file.
For example if I have the following file list:
JOB001.LOG_00uv02_00006 - Jul 7 12:16
JOB001.LOG_00vi0t_00001 - Aug 4 21:58
JOB001.LOG_00vi0t_00002 - Aug 5 09:15
JOB001.LOG_00vi0t_00003 - Aug 5... (6 Replies)
Discussion started by: shash
6 Replies
2. Shell Programming and Scripting
I have the following list of file names stored in $fnames, so that if I do
foreach f ($fnames)
echo "$f"
end
I will get
n02-z30-sr65-rgdt0p50-dc0p002-16x12drw-run1
n02-z30-sr65-rgdt0p50-dc0p002-16x12drw-run2
n02-z30-sr65-rgdt0p50-dc0p002-16x12drw-run3... (3 Replies)
Discussion started by: kristinu
3 Replies
3. Shell Programming and Scripting
Hi Experts,
Here is my scenario:
Am maintaining a file which has list of logs with complete path and file names like bleow
a/b/c/Daily/file1_20111012.log
d/e/f/Monthly/file1_20111001.log
g/h/Daily/file1_20110120.log
i/Daily/file1_20110220.log
How to copy the file names frm the list... (7 Replies)
Discussion started by: laxm
7 Replies
4. Shell Programming and Scripting
I need to take the second column of a .csv file and count the number of instances of each unique value in that same second column. I'd like the output to be value,count sorted by most instances. Thanks for any guidance!
Data example:
317476,317756,0
816063,318861,0
313123,319091,0... (4 Replies)
Discussion started by: batcho
4 Replies
5. Shell Programming and Scripting
I have 84 files with the following names splitseqs.1, spliseqs.2 etc.
and I want to change the .number to a unique filename.
E.g.
change splitseqs.1 into splitseqs.7114_1#24
and
change spliseqs.2 into splitseqs.7067_2#4
So all the current file names are unique, so are the new file names.... (1 Reply)
Discussion started by: avonm
1 Replies
6. Shell Programming and Scripting
Hi All,
I have a .txt file with the list of filenames as given below.
/dev_data/dev3/ctl/20120622_Employee.txt
/dev_data/dev3/ctl/20120623_Employee.txt
/dev_data/dev3/ctl/20120624_Employee.txt
I want to read this file & write the dates alone from the filenames into a .done file.
... (6 Replies)
Discussion started by: dsfreddie
6 Replies
7. Shell Programming and Scripting
Hello,
I have two directories - prev and current . They both have same multiple subdirectories and files. Now the current directory can have some updated files and some new files added that is not in prev. I want to find the list of file names that differ. I am doing this because i can not... (2 Replies)
Discussion started by: jakSun8
2 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
Can any one help me to list out the directory names which contain the specified file.
See for example
File name : file.201307014.LKT
Have the directory structure as below.
/app/work/data/INDIA/file.201307014.LKT
/app/work/data/AMERICA/file.201307014.KTP... (5 Replies)
Discussion started by: Balasankar
5 Replies
9. Shell Programming and Scripting
I'm attempting to write a script that will look into a directory, discover all unique names, create directories for their prefix names and place the files inside. I do this now one by one with a simple script but I'd like to automate the process.
The directory would contain something like: ... (6 Replies)
Discussion started by: scribling
6 Replies
10. UNIX for Beginners Questions & Answers
Dear Users,
Appreciate your help if you could help me with splitting a large file > 1 million lines with sed or awk. below is the text in the file
input file.txt
scaffold1 928 929 C/T +
scaffold1 942 943 G/C +
scaffold1 959 960 C/T +... (6 Replies)
Discussion started by: kapr0001
6 Replies
LEARN ABOUT DEBIAN
xfce4-dict
XFCE4-DICT(1) XFCE4-DICT(1)
NAME
xfce4-dict -- a client program to query different dictionaries
SYNOPSIS
xfce4-dict [option] [text ...]
DESCRIPTION
xfce4-dict allows you to search different kinds of dictionary services for words or phrases and shows you the result. Currently you can
query a "Dict" server(RFC 2229), any online dictionary service by opening a web browser or search for words using a spell check program
like aspell, ispell or enchant.
Homepage: http://goodies.xfce.org/projects/applications/xfce4-dict
OPTIONS
If called without any arguments, the xfce4-dict main window is shown. Any passed text argument(s) are used as search text.
-d, --dict
Search the given text using a Dict server(RFC 2229).
-w, --web Search the given text using a web-based search engine.
-t, --text-field
Grab the focus on the text field in the panel (has no effect if panel plugin is not loaded).
-s, --spell
Check the given text with a spellchecker.
-i, --ignore-plugin
Start stand-alone application even if the panel plugin is loaded.
-c, --clipboard
Grabs the PRIMARY selection content (X selection clipboard), uses it as search text and performs a search. This is useful when
you want to create keyboard shortcuts for this command. The search method can be specified with the -d, -w and -s options, if
not specified the default search method is used. If the PRIMARY clipboard doesn't contain any text, the normal clipboard is
used.
-v, --verbose
Be verbose (print useful status messages).
-V, --version
Show version information.
-?, --help
Show help information and exit.
xfce4-dict supports all generic GTK options, a list is available on the help screen.
BUGS
There is a limitation of max. 12 characters in passing a search term to xfce4-dict when the panel plugin is loaded. That is, if you pass a
search term as command line argument(s) to xfce4-dict which is longer than 12 characters, it is truncated. To be exact, the limit is 12
bytes so if the search term contains any non-ASCII characters it might be even less than 12 characters. To work around this limitation,
you can add the command line '-i' so that xfce4-dict will start a single stand-alone application. Then all passed text is used as search
term.
AUTHOR
This manual page was written by Enrico Troeger. Permission is granted to copy, distribute and/or modify this document under the terms of
the GNU General Public License, Version 2, or (at your option) any later version.
xfce4-dict 0.6.0 December 31, 2009 XFCE4-DICT(1)