11-04-2014
Thank you moderator for the replay on my post, I am new in the forum and still learning how to ask question.
I am working as a QA sofware analyst and I need to verify the extract, transfer and load of the files before they go to the customer. I need to verify if the files in UTF-8 format. I also tried the command as
iconv -f UTF-8 fullpolicy*.dat -o /dev/null and see if the return 0 or 1 but I have not gotten a return numbers, probably I have not used my command properly. I am not a developer and learning from the internet to work in unix. Would you please explain how I can check the files without converting them and know what format is.
Nadya
9 More Discussions You Might Find Interesting
1. Programming
I need to modify my version of find in unix and get it to create and use two POSIX threads to carry out concurrent finding operations.
How do i get about doing this>?
If anyone could help me it would be much appreciated.
Thanx
Mariuca (1 Reply)
Discussion started by: mariuca
1 Replies
2. Shell Programming and Scripting
I'm trying to write a script using the 'find' command and it's -exec option to run a compound command against the files found.
Example:
find . -name "*.conf" -exec cat {} | grep "#" > /tmp/comments.list \;
Of course the above doesn't work. So I experimented for a bit to see if there was... (6 Replies)
Discussion started by: deckard
6 Replies
3. UNIX for Dummies Questions & Answers
Hello,
My System Admin. just switched me from KSH to BASH and something happened to my "nedit" utility!
Does anyone know how to reactivate nedit by anychance?
Thanks very much!
BobK (2 Replies)
Discussion started by: bobk544
2 Replies
4. Shell Programming and Scripting
hi folks,
I want to select all files older than 13 days from a specified directory
for that i used
find /home/amar -name '*.*' -mtime 13
but it gives me all the files from subdirectories also, I dont want that
I want files only from /home/amar and not from /home/amar/abc/..
which... (8 Replies)
Discussion started by: amarnath
8 Replies
5. Shell Programming and Scripting
Hi Guys,
Do you know how can I find files with modificatioin time less than 30 MINUTES using the find utility?
Or if u have any other mechanism to find it using script, I'll appreciate it.
Thanks! (5 Replies)
Discussion started by: marlonus999
5 Replies
6. AIX
Do you know where can I find the 'zip' binary utility for AIX 5.x ?
I have the zip-2.3.0.0.bff file, but I don't have root access and I want to test the 'zip' utility.
Thank you !!! (2 Replies)
Discussion started by: V3l0
2 Replies
7. AIX
Good Morning!
My p550 running AIX 5.3 TL9 SP6 is supposedly connected to its SAN. However, it's not configuring its luns or behaving like it sees any traffic at all.
"fcstat fcs0" and "fcstat fcs1" both indicate no traffic moving across the interfaces.
Does AIX have a basic command that... (4 Replies)
Discussion started by: dafydd2277
4 Replies
8. Shell Programming and Scripting
Can I ask a question not related to original question. I have this below command running on a directory which contains thousands of files. This command runs for 5 minutes. Any files received in folder1 during the execution of command is getting moved, even though that file is just received and it's... (6 Replies)
Discussion started by: Super123
6 Replies
9. UNIX for Beginners Questions & Answers
Hi,
I am trying to find out whether there are any Unix utilities that compares folders, files and contents within the file and provides a comprehensive report. The comparison can be against base version of a folder and file with content. Can you please let me know of such a utility?
Thanks,... (6 Replies)
Discussion started by: Sripathi_ks
6 Replies
LEARN ABOUT OPENSOLARIS
packagens
pkg::create(3tcl) Tcl Built-In Commands pkg::create(3tcl)
__________________________________________________________________________________________________________________________________________________
NAME
pkg::create - Construct an appropriate 'package ifneeded' command for a given package specification
SYNOPSIS
::pkg::create -name packageName -version packageVersion ?-load filespec? ... ?-source filespec? ...
_________________________________________________________________
DESCRIPTION
::pkg::create is a utility procedure that is part of the standard Tcl library. It is used to create an appropriate package ifneeded com-
mand for a given package specification. It can be used to construct a pkgIndex.tcl file for use with the package mechanism.
OPTIONS
The parameters supported are:
-name packageName
This parameter specifies the name of the package. It is required.
-version packageVersion
This parameter specifies the version of the package. It is required.
-load filespec
This parameter specifies a binary library that must be loaded with the load command. filespec is a list with two elements. The
first element is the name of the file to load. The second, optional element is a list of commands supplied by loading that file.
If the list of procedures is empty or omitted, ::pkg::create will set up the library for direct loading (see pkg_mkIndex). Any num-
ber of -load parameters may be specified.
-source filespec
This parameter is similar to the -load parameter, except that it specifies a Tcl library that must be loaded with the source com-
mand. Any number of -source parameters may be specified.
At least one -load or -source parameter must be given.
SEE ALSO
package(3tcl)
KEYWORDS
auto-load, index, package, version
Tcl 8.3 pkg::create(3tcl)