Sponsored Content
Top Forums Shell Programming and Scripting File Processing in shell script Post 302418371 by telangmadhuri on Tuesday 4th of May 2010 05:12:46 AM
Old 05-04-2010
Handling Special charahter in array

HI,

i have to declare the array as shown below

Code:
set -A  tech radio television mobile Engery&acc

it is giving me error for the value in bold above.

how will i add the Engery&acc value in array to be one string.

any help will be highly appreciated
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Have a shell script check for a file to exist before processing another file

I have a shell script that runs all the time looking for a certain type of file and then it processes the file through a series of other scripts. The script is watching a directory that has files uploaded to it via SFTP. It already checks the size of the file to make sure that it is not still... (3 Replies)
Discussion started by: heprox
3 Replies

2. Shell Programming and Scripting

Shell script not processing if statement properly

Hi I am trying to create a shell script that will look for a contracthead file first and if the contract head file does not exist on day1 exit script. Now on day2 if contracthead exists or not run the script uploading files in order such as contract line then contract contact so the... (2 Replies)
Discussion started by: jonathan184
2 Replies

3. Shell Programming and Scripting

Processing a file in shell

I have a file which is having enrties like entry-id 1 ABC : value DEF :value GHI :VALUE entry-id 2 ABC : value DEF :value GHI :VALUE entry-id 2 ABC : value DEF :value GHI :VALUE and so on .. .wht i want to do is (1 Reply)
Discussion started by: msbinu
1 Replies

4. Shell Programming and Scripting

Shell Script syntax for XML processing

Hi All, I am new to Shell scripting. I have a log file containing XML Messages.Each XML Message is accompanied with a timestamp.I need to count the the number of messages that get logged in a particular timeinterval.Is there any command/Syntax to achieve this. Any code/example is... (5 Replies)
Discussion started by: vignesh53
5 Replies

5. Shell Programming and Scripting

2 file processing script in C shell

I want to use an awk for the following scenario but not sure if it will work or not. I have two input file: F1 and F2 F1 02 05 08 F2 00 01 02 03 04 05 06 07 08 09 10 (1 Reply)
Discussion started by: jclanc8
1 Replies

6. Shell Programming and Scripting

Help with shell script for url processing

Hi, My objective is to make a shell script that, when run, you can input multiple links at once. text is then inserted between the http:// part and the following url. example : http://google.be ==> http://sometext.google.be it would be great if it could then open all the created links (wich... (5 Replies)
Discussion started by: tooster
5 Replies

7. Programming

awk processing / Shell Script Processing to remove columns text file

Hello, I extracted a list of files in a directory with the command ls . However this is not my computer, so the ls functionality has been revamped so that it gives the filesizes in front like this : This is the output of ls command : I stored the output in a file filelist 1.1M... (5 Replies)
Discussion started by: ajayram
5 Replies

8. Shell Programming and Scripting

Shell script for .Txt to .csv conversion with data processing

Hi experts, I want to convert a txt file having rows and columns (CNAI_DUMP_raw.txt) by comparing it with another text file (paramaters.txt) and generate a output in CSV which contains only 3rd column from CNAI_DUMP_raw.txt, and the columns mentioned in parameters.txt. FYI: There are two... (16 Replies)
Discussion started by: Gautam Banerjee
16 Replies

9. Shell Programming and Scripting

How to log file processing details to database table usnig UNIX shell script?

we are getting files on daily basis.we need to process these files. i need a unix shell script where we can count 1-The no of files processed 2-No of data/record processed for each files. The script should log these details into a database table. If there is any error while file... (3 Replies)
Discussion started by: Atul kumar
3 Replies
PLSTRIPC(3plplot)						    PLplot API							 PLSTRIPC(3plplot)

NAME
plstripc - Create a 4-pen stripchart SYNOPSIS
plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline[], labx, laby, labtop) DESCRIPTION
Create a 4-pen stripchart, to be used afterwards by plstripa(3plplot) Redacted form: General: plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, sty- line, legline, labx, laby, labz) Perl/PDL: plstripc(xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, sty- line, id, xspec, ypsec, legline, labx, laby, labtop) This function is used in example 17. ARGUMENTS
id (PLINT *, output) Identification number of stripchart to use on plstripa(3plplot) and plstripd(3plplot). xspec (char *, input) X-axis specification as in plbox(3plplot). yspec (char *, input) Y-axis specification as in plbox(3plplot). xmin (PLFLT, input) Initial coordinates of plot box; they will change as data are added. xmax (PLFLT, input) Initial coordinates of plot box; they will change as data are added. xjump (PLFLT, input) When x attains xmax, the length of the plot is multiplied by the factor (1 + xjump). ymin (PLFLT, input) Initial coordinates of plot box; they will change as data are added. ymax (PLFLT, input) Initial coordinates of plot box; they will change as data are added. xlpos (PLFLT, input) X legend box position (range from 0 to 1). ylpos (PLFLT, input) Y legend box position (range from 0 to 1). y_ascl (PLBOOL, input) Autoscale y between x jumps if y_ascl is true, otherwise not. acc (PLBOOL, input) Accumulate strip plot if acc is true, otherwise slide display. colbox (PLINT, input) Plot box color index (cmap0). collab (PLINT, input) Legend color index (cmap0). colline (PLINT *, input) Pointer to array with color indices (cmap0) for the 4 pens. styline (PLINT *, input) Pointer to array with line styles for the 4 pens. legline (char **, input) Pointer to character array containing legends for the 4 pens. labx (char *, input) X-axis label. laby (char *, input) Y-axis label. labtop (char *, input) Plot title. AUTHORS
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere. SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources. August, 2012 PLSTRIPC(3plplot)
All times are GMT -4. The time now is 02:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy