10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
So, i have this requirement where i need to check the file format, whether it's EBCDIC or ASCII, and based on format retrieve the information from that file:
my file is:
file1.txt-->this ebcdic file
file2.txt-->ascii file
i tried below code:
file=file1.txt
type="`file $file`"
i get... (7 Replies)
Discussion started by: gnnsprapa
7 Replies
2. UNIX for Beginners Questions & Answers
Hi Team,
I am having 100 EBCDIC files (i.e. DAT extension) and need to convert them into ASCII File by unix shell script.
I tried with DD Command but its not providing output as expected.
Sample Text:
------------------
גהאבדוחס@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Expected Output:... (2 Replies)
Discussion started by: JSM
2 Replies
3. UNIX for Dummies Questions & Answers
Is there any command to eliminate Header and footer from EBCDIC file (4 Replies)
Discussion started by: abhilashnair
4 Replies
4. Shell Programming and Scripting
Hi all,
i have a task to do with Python and because i'm a beginner on it i would like your help on this.
Create a python script that:
Every hour collect the Temperature (e.g. 29C) and Current Condition (e.g. Clear) from this website wunderground.com/global/stations/54511.html
Create a CSV... (0 Replies)
Discussion started by: ragaga123
0 Replies
5. Red Hat
Hello all,
To give you all a little bit of background. We recently migrated from HP-UX to Redhat Linux and one of the command I used to run on HP-UX to convert an EBCDIC file to ASCII file isn't working on Linux. The code is as follow:
cat workout2.dat | dd cbs=250 conv=block conv=ascii... (3 Replies)
Discussion started by: sethmj
3 Replies
6. HP-UX
Hi guys!
My sql*plus program generating dat file. so this dat file i want to write in destination sever path with ebcdic formate through SFTP only, because my destination server is mainframe it can read only ebcdic formate files only.
could you please help on this........
i was written... (3 Replies)
Discussion started by: sgangadhar19
3 Replies
7. Shell Programming and Scripting
Hi,
is there a way to check if the initial few characters are ebcdic or ascii in a file? (1 Reply)
Discussion started by: ahmedwaseem2000
1 Replies
8. Linux
Hi,
Hi want to check weather a file is being used by using a command or java code or shell script.
So, can any body give me some idea..
Thanks
Buddhika (3 Replies)
Discussion started by: cse.buddhika
3 Replies
9. Shell Programming and Scripting
I think I can do this myself now, but I am always amazed by how people can do things cleaner and simpler than I end up doing...
Using cron, I want to save the image found at:
http://radar.weather.gov/ridge/Conus/RadarImg/centgrtlakes.gif
every 15 minutes to a local file , such as
... (1 Reply)
Discussion started by: brucewestfall
1 Replies
10. Shell Programming and Scripting
Dear All
I want to do following task. Kindly suggest.
In my script every hour one file is genarated. say xyz.txt.
Now if this file contain some data then i want to do task A and if file is blank then i want to do nothing.
Kindly help me to do this.
regards
jaydeep (5 Replies)
Discussion started by: jaydeep_sadaria
5 Replies
repair_packages(8) BSD System Manager's Manual repair_packages(8)
NAME
repair_packages -- verify or repair filesystem permissions and flags for packages.
SYNOPSIS
repair_packages [arguments]
DESCRIPTION
repair_packages is used by Disk Utility to verify or repair permissions on installed packages.
ARGUMENTS
--volume Perform all operations on the specified volume or home directory. The root volume '/' will be used if unspecified.
--list-standard-pkgs
Output the list of package-id strings corresponding to receipts in the installer's receipt database that will be verified or
repaired by the --standard-pkgs flag.
--verify Verify the specified package(s).
--repair Repair the specified package(s).
--pkg package-id
Add the specified package to the list of packages to verify or repair.
--standard-pkgs
Add the standard packages to the list of packages to verify or repair. Use --list-standard-pkgs to view this list.
--output-format #
Use a special output format selected by #. Different output formats may be optimized for human or machine readability. The
default output-format is '0', and is a verbose, human-readable format.
NOTES
repair_packages only runs on 10.6 or later systems. To verify or repair permissions on earlier systems, reboot with a Tiger or Leopard system
disk and verify or repair permissions with the repair_packages version on that disk.
SEE ALSO
pkgutil(1)
http://lists.apple.com/archives/installer-dev
BUGS
repair_packages does not verify file contents or restore missing files; It can only verify or repair filesystem permissions.
Mac OS June 2, 2019 Mac OS