Sponsored Content
Full Discussion: ux2dos
Top Forums UNIX for Dummies Questions & Answers ux2dos Post 302191719 by fabtagon on Sunday 4th of May 2008 04:41:11 PM
Old 05-04-2008
find . -name "*display" -exec ux2dos {} > {}.txt \;

your problem arose from your redirection (>) target: output got redirected to *.txt which extends to a list of all .txt files in directory -> multiple targets -> shell got confused (and would probably not have acted properly if *.txt would extend to just one file)

(no need to escape using '' on modern systems)
 

We Also Found This Discussion For You

1. HP-UX

Ux2dos script

Hi all, Does anyone know how to convert a good few files in a particular directory (unix) to dos files and place them in another directory? I know this can be done with ux2dos but I am trying to come up with a shell script to do so (13 Replies)
Discussion started by: lcclaj0
13 Replies
ATR_ANALYSIS(1p)						   User Commands						  ATR_ANALYSIS(1p)

NAME
ATR_analysis - analyse a smart card ATR SYNOPSIS
ATR_analysis [ATRstring] DESCRIPTION
ATR_analysis is used to parse the ATR (Answer To Reset) sent by a smart card. The command also tries to find the card model using an ATR database stored in a text file smartcard_list.txt. The smartcard_list.txt file is searched in ./, /usr/local/pcsc/ and /usr/share/pcsc/ directories. Exemple: $ ATR_analysis '3B A7 00 40 18 80 65 A2 08 01 01 52' ATR: 3B A7 00 40 18 80 65 A2 08 01 01 52 + TS = 3B --> Direct Convention + T0 = A7, Y(1): 1010, K: 7 (historical bytes) TB(1) = 00 --> Programming Param P: 0, I: 0 TD(1) = 40 --> Y(i+1) = 0100, Protocol T = 0 ----- TC(2) = 18 --> Work waiting time: 960 x 24 x (Fi/F) + Historical bytes: 80 65 A2 08 01 01 52 Possibly identified card: 3B A7 00 40 18 80 65 A2 08 01 01 52 Gemplus GPK8000 BUGS
Maybe many bugs since I am not a ISO 7816 expert. FILES
smartcard_list.txt SEE ALSO
pcscd(8), pcsc_scan(1) AUTHOR
Ludovic Rousseau <ludovic.rousseau@free.fr> Version: 1.3 October 2005 ATR_ANALYSIS(1p)
All times are GMT -4. The time now is 08:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy