04-11-2006
hi
wht does this code do?
rej=${file##${file%???}}
thanks
swapneel
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How can I delete a file from an existing Solaris tar file ? (not gtar) (2 Replies)
Discussion started by: avnerht
2 Replies
2. Shell Programming and Scripting
I have a file (status.file) of the form:
valueA 3450
valueB -20
valueC -340
valueD 48
I am tailing a data.file, and need to search and modify a value
in status.file...the tail is:
tail -f data.file | awk '{ print $3, ($NF - $(NF-1)) }'
which will produce lines that look like this:
... (3 Replies)
Discussion started by: nortonloaf
3 Replies
3. Shell Programming and Scripting
Hi I am Newbie to Unix.Appreciate Help from forum
user would loada b.Csv File(Below example) in /data/m/ directory.Program need to read the b.csc to extract certain column and create a new file /data/d/ directory as csv file with new name.
User File Format
1232,samshouston,12345... (3 Replies)
Discussion started by: skywayterrace
3 Replies
4. Shell Programming and Scripting
Hi all
I currently use the following in shell.
#!/bin/sh
while read LINE
do
perl -i -ne "$/ = ''; print if !m'Using archive: ${LINE}'ms;" "datafile"
done < "listfile"
NOTE the single quote delimiters in the expression. It's highly likely the 'LINE' may very well have characters in it... (3 Replies)
Discussion started by: Festus Hagen
3 Replies
5. Shell Programming and Scripting
Dear Friends,
I need urgent help from u..
I have two files,file1 & file 2..
file1 have a existing data of file2.So i want to delete those existing datas from file1 (which contain the data from file1)
My file1 like this
rs39348 1 1045729 A G 0.1791 0.2054 0.84 ... (3 Replies)
Discussion started by: sureshraj
3 Replies
6. Shell Programming and Scripting
Hello Guys ,
I need an another help regarding the below problem.
I want to create a new file based on the existing file ,where two columns will be changed according to user input .(say column 4 and column 5)
Please let me know how to proceed with
Thanks (3 Replies)
Discussion started by: Pratik4891
3 Replies
7. Shell Programming and Scripting
Hi guys,
i have a file in below format.let me explain first what i am trying to do .
i am making a file from this file , will rearrange these columns, then i will run several command(start/stop mentioned in this file) on unix environment. my requirements :
1. i have 27 servers , on each server... (4 Replies)
Discussion started by: deepakiniimt
4 Replies
8. Shell Programming and Scripting
Hi all,
I need a script to delete a large set of files from a directory under / based on an input file and want to redirect errors into separate file.
I have already prepared a list of files in the input file.
Kndly help me.
Thanks,
Prash (36 Replies)
Discussion started by: prash358
36 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have a very puzzling problem. I have a binary file, it is executable but it says "No such file or directory" when I try to run it :
root@debian:~# ls -l bmcfwul
-rwxr-xr-t 1 root root 762808 Mar 11 2010 bmcfwul
root@debian:~# ./bmcfwul
-su: ./bmcfwul: No such file or directory... (9 Replies)
Discussion started by: chebarbudo
9 Replies
10. Shell Programming and Scripting
Hi Gurus,
I am SQL developer and new unix user.
I need to create some file and file content based on information in two files.
I have one file contains basic information below file1 and another exception file file2. the rule is if "zone' and "cd" in file1 exists in file2, then file name is... (13 Replies)
Discussion started by: Torhong
13 Replies
LEARN ABOUT DEBIAN
kdc2tiff
KDC2TIFF(1) KDC2TIFF(1)
NAME
kdc2tiff - convert Kodac kdc files to tiff
SYNOPSIS
kdc2tiff [ global-options ] inputfile [local-options -o outputfile1 ]
[ local-options -o outputfile2 ] ...
DESCRIPTION
This manual page documents briefly the kdc2tiff command. This manual page was written for the Debian GNU/Linux distribution because the
original program does not have a manual page.
kdc2tiff is a program that converts Kodac kdc files to tiff with attention to aspect ratio, accurate scaling, contrast adjustment, gamma
correction and image rotation.
OPTIONS
-w # output image width
-h # output image height
-g # absolute gamma correction
+g # relative gamma correction
-G no grain reduction (default)
+G reduce graininess
+GG reduce graininess (extra)
+e normal contrast enhancement (default)
+E # advanced contrast enhancement
-e no contrast enhancement
-W wht colour of light source
+s square pixels (default)
-s allow non-square pixels
+f fast processing
-f slow processing, high quality (default)
+p crop image if necessary to fit width and height (default)
-p no cropping, width and height are maximums
-R don't rotate image (default)
+R rotate image clockwise
+B rotate image counter-clockwise
-C copy note copyright in output file
-c schm
TIFF compression scheme
-r # TIFF rows per strip setting
SEE ALSO
kdc2jpeg(1)
AUTHOR
This manual page was written by Martin Wuertele <maxx@wuertele.net>, for the Debian GNU/Linux system (but may be used by others).
Martin Wuertele <maxx@debian.org> 0.01 KDC2TIFF(1)