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.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Advanced & Expert Users
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
3. Shell Programming and Scripting
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
4. Shell Programming and Scripting
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
5. Shell Programming and Scripting
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
6. Programming
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
7. Shell Programming and Scripting
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
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
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
10. What is on Your Mind?
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
SWAPON(8) System Manager's Manual SWAPON(8)
NAME
swapon - specify additional device for paging and swapping
SYNOPSIS
swapon -a
swapon name ...
DESCRIPTION
Swapon is used to specify additional devices on which paging and swapping are to take place. The system begins by swapping and paging on
only a single device so that only one disk is required at bootstrap time. Calls to swapon normally occur in the system multi-user initial-
ization file /etc/rc making all swap devices available, so that the paging and swapping activity is interleaved across several devices.
Normally, the -a argument is given, causing all devices marked as ``sw'' swap devices in /etc/fstab to be made available.
The second form gives individual block devices as given in the system swap configuration table. The call makes only this space available
to the system for swap allocation.
SEE ALSO
swapon(2), init(8)
FILES
/dev/[ru][pk]?b normal paging devices
BUGS
There is no way to stop paging and swapping on a device. It is therefore not possible to make use of devices which may be dismounted dur-
ing system operation.
swapon is not implemented in 2.11BSD.
4th Berkeley Distribution November 17, 1996 SWAPON(8)