Multiple view of Apsedic to ASCII.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Multiple view of Apsedic to ASCII.
# 1  
Old 11-17-2001
Multiple view of Apsedic to ASCII.

dd conv=ascii if=100.PCN of=foo
On paging the 'foo' file i get conversion of the selected file. How can I get multiple 100.PCN's into 1 'foo' file.
Usually all my work related files have an extension of .PCN or 001. Upon selecting if=*.* No ouput file is generated.
buRst
# 2  
Old 11-17-2001
Try a quick shell script like...

#!/bin/sh

for ifile in *.PCN
do
cat $ifile | dd conv=ascii >> foo
done

...or just...

cat *.PCN | dd conv=ascii > foo

...although I'm not sure if this will work
properly with the conversion.
# 3  
Old 11-19-2001
I shall try this... thnx
buRst
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

Moving from Desktop View to Mobile View

See attached video for a demo on how to move back and forth from the desktop view to the mobile view. Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on. Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies

2. Shell Programming and Scripting

Convert Hex to Ascii in a Ascii file

Hi All, I have an ascii file in which few columns are having hex values which i need to convert into ascii. Kindly suggest me what command can be used in unix shell scripting? Thanks in Advance (2 Replies)
Discussion started by: HemaV
2 Replies

3. Shell Programming and Scripting

Grep from multiple patterns multiple file multiple output

Hi, I want to grep multiple patterns from multiple files and save to multiple outputs. As of now its outputting all to the same file when I use this command. Input : 108 files to check for 390 patterns to check for. output I need to 108 files with the searched patterns. Xargs -I {} grep... (3 Replies)
Discussion started by: Diya123
3 Replies

4. Shell Programming and Scripting

How to View multiple Cron jobs

Hi, I ran two crontab commands using: crontab program1 crontab program2 However when I type crontab -l only the second cron job shows up, how do I see all cron jobs running and how do I edit all at the same time Thanks in Advance S:D (10 Replies)
Discussion started by: walforum
10 Replies

5. Programming

Hexadecimal to ascii

Let's suppose i have a hexadecimal array with 16 cells.for example b3e2d5f636111780 i want to convert it to an array of ascii characters(in C) so that i can reduce total size of the file i want to put it in. But i am afraid i have not fully understand the difference between ascii and hex(i... (3 Replies)
Discussion started by: bashuser2
3 Replies

6. Shell Programming and Scripting

how to view last line of multiple files

Dear All, can anybody help me out in generating a command that can be used to view the last line of multiples files. e.g: file 1 contains 100 records file 2 contains 200 records file 3 contails 300 records now i need a command that can be used to display the last line of each... (7 Replies)
Discussion started by: jojo123
7 Replies

7. Shell Programming and Scripting

convert ascii values into ascii characters

Hi gurus, I have a file in unix with ascii values. I need to convert all the ascii values in the file to ascii characters. File contains nearly 20000 records with ascii values. (10 Replies)
Discussion started by: sandeeppvk
10 Replies

8. Shell Programming and Scripting

EBCIDIC to ASCII

can anyone get a script for converting EBCIDIC data to Unix ina file.. in shell... thanks in advance! (3 Replies)
Discussion started by: bourne
3 Replies

9. UNIX for Advanced & Expert Users

ascii to dbf HELP!

Hi, Does anyone know of an ascii to dbf converter for sco unix? Or any flavor of unix for that matter. Thanks! Georgio (1 Reply)
Discussion started by: gseyforth
1 Replies

10. UNIX for Dummies Questions & Answers

ascii

a silly question but is there a way to display individual ascii values say if i type 65 it will display the letter instead? thanks fo any help. (3 Replies)
Discussion started by: melkor
3 Replies
Login or Register to Ask a Question