Sponsored Content
Full Discussion: UNIX Scripting
Top Forums UNIX for Dummies Questions & Answers UNIX Scripting Post 4661 by wolf on Monday 30th of July 2001 07:16:04 AM
Old 07-30-2001
Data UNIX Scripting

Smilie I need to find a place or places on the Internet where I can find UNIX scripts to view and to modify to make life easy on the UNIX environment. Can someone help me on this. Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help With Unix Scripting.

Can anybody tell me the best way to learn unix scripting.can you recommend a good book.Please help! (1 Reply)
Discussion started by: hella
1 Replies

2. Shell Programming and Scripting

difference between AIX shell scripting and Unix shell scripting.

please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies

3. UNIX for Dummies Questions & Answers

Unix scripting pl help

Hi All, I am new to Unix Scripting. I have below scenario. I need to write a Unix function with the following. 1. I have table. From this table I need to write a query. SELECT Col1(File_nm),Col2(From_Loc),Col3(To_Loc) FROM A WHERE CONDITION For... (1 Reply)
Discussion started by: sree11
1 Replies

4. UNIX for Dummies Questions & Answers

Help me Out in unix scripting

Hello every one, plz help me out. I m using 4 files in unix, like file1, file2, file3,file4 in which primary key is ID in column(field) of 4 files. On the bases of ID, i want the corresponding field of 4 files in final file let say collected file. In collected file, ID column should occur only one... (16 Replies)
Discussion started by: kaprus
16 Replies

5. UNIX for Dummies Questions & Answers

Unix Scripting

Hi Gurus, I am a system admin in solaris field and ive planned to study unix scripting.ive planned to start reading Mastering Unix scripting by randal.Scripts in that are based on Korn shell(ksh).my question is whether the same scripts can be applied to other shells like bash etc..And... (1 Reply)
Discussion started by: madanmeer
1 Replies

6. Shell Programming and Scripting

Unix Scripting

Hi Gurus, I am a system admin in solaris field and ive planned to study unix scripting.ive planned to start reading Mastering Unix scripting by randal.Scripts in that are based on Korn shell(ksh).my question is whether the same scripts can be applied to other shells like bash etc..And... (4 Replies)
Discussion started by: madanmeer
4 Replies

7. Shell Programming and Scripting

Unix scripting

how to check if a unix script gets executed without errors across all unix platforms. incase if a script gets executed without errors only one platform say AIX, what needs to be done to that script such that it will run all unix platforms like linux, hp, sun etc (2 Replies)
Discussion started by: rmann
2 Replies

8. UNIX for Advanced & Expert Users

Unix scripting

i need help with this problem this is the problem: Write a script that logs how many users login on/off the system over a 5 minute period. It can run in the foreground, and run 4 times a minute. Set a trap that will not allow a CNTRL-C command, and if a CNTRL-C is excuted store the time and date... (1 Reply)
Discussion started by: sportsmansixty6
1 Replies

9. UNIX for Dummies Questions & Answers

Unix Shell Scripting( Calling from Unix to PLSQL)

Hello Experts, I have the following questions to be discussed here at this esteemed discussion forum. I have two Excel sheets which contain Unix Commands llike creating directory the structure/ftp/Copy/Zip etc to basically create an environment. I need help in understanding some of... (1 Reply)
Discussion started by: faizsaadq
1 Replies

10. Shell Programming and Scripting

UNIX scripting

LIST=/home/xxxxxxx/ABC/xeeno_scrpts/temp/tempfile ERRORDIR=/home/xxxxxxx/ABC/error_directory EMAILFILE=/home/xxxxxxx/ABC/xeeno_scrpts/temp/emailfile echo "There were errors in the following report file for Xeenos:" > $EMAILFILE echo >> $EMAILFILE echo "This files have been moved to... (9 Replies)
Discussion started by: bcarosi
9 Replies
iconv_open(3)						     Library Functions Manual						     iconv_open(3)

NAME
iconv_open - Opens a character codeset converter LIBRARY
The iconv library (libiconv) SYNOPSIS
#include <iconv.h> iconv_t iconv_open( const char *tocode, const char *fromcode); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: iconv_open(): XSH5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
Specifies the destination codeset. Specifies the originating codeset. DESCRIPTION
The iconv_open() function initializes a codeset converter. This converter is used by the iconv function to convert characters from one codeset to another. The iconv_open() function finds the converter that performs the character conversion specified by the fromcode and tocode parameters, initializes that converter, then returns a conversion descriptor of type iconv_t that identifies the converter. The conversion descriptor returned by this function remains valid until the descriptor is closed for the process in which the application is run. The descriptor can be closed by an iconv_close() call in which the descriptor is an argument or by a call to one of the exec() functions. Note that standards do not define where codeset converters reside or how vendors implement them. [Tru64 UNIX] The iconv_open() function searches for an algorithmic converter. If it does not find an algorithmic converter for the speci- fied codesets, the function then searches for a table converter. The algorithmic and table converter file names are formed by concatenating the tocode parameter codeset name onto the fromcode parameter codeset name, with an underscore between the two, for example: fromcode=ct tocode=ISO8859-1 Converter name=ct_ISO8859-1 [Tru64 UNIX] The iconv_open() function searches for an algorithmic converter in an iconv subdirectory of the directory specified in the LOCPATH environment variable. The function searches for a table converter in an iconvTable subdirectory of the directory specified in the LOCPATH environment variable. If LOCPATH is not defined, iconv_open() uses the default value: /usr/lib/nls/loc. [Tru64 UNIX] The LOCPATH variable also overrides the default search path (/usr/lib/nls/loc) that is used to find locales. If this variable is defined, it must therefore specify a search path that application and system software can use to find both locales and converters. The LOCPATH variable is not defined by any standard, so use of the variable should be limited to testing locales or converters under development. RETURN VALUES
On successful completion, the iconv_open() function returns a conversion descriptor. Otherwise, the function returns -1 cast to iconv_t and sets errno to indicate the error. ERRORS
If any of the following conditions occur, the iconv_open() function sets errno to the corresponding value: The number of file descriptors specified by the OPEN_MAX configuration variable is currently open in the calling process. [Tru64 UNIX] Either the OPEN_MAX value or the per-process soft descriptor limit is checked. [Tru64 UNIX] The path used to find the codeset converter is longer than PATH_MAX. Too many files are currently open in the system. Insufficient virtual memory is available. The conversion specified by the fromcode and tocode parameters is not supported. [Tru64 UNIX] This condition may also indicate an incorrect LOCPATH setting because support for the specified conversion is deter- mined by finding a converter whose name also specifies that conversion. RELATED INFORMATION
Commands: genxlt(1), iconv(1) Functions: iconv(3), iconv_close(3) Others: iconv_intro(5), standards(5) delim off iconv_open(3)
All times are GMT -4. The time now is 02:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy