01-28-2018
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a string as follows
IS*blahblah
TED~blahblah
etc.
I want to list down only IS and TED
Can someone help me? (24 Replies)
Discussion started by: kumariak
24 Replies
2. Shell Programming and Scripting
hi,
how to echo \\ in unix
ie echo the path
\\dir1\dir2\\dir3
thanks,
Sam (7 Replies)
Discussion started by: sam99
7 Replies
3. Shell Programming and Scripting
Hello everyone,
I'm writing a script to add a string to an XML file, right after a specified string that only occurs once in the file. For testing purposes I created a file 'testfile' that looks like this:
1
2
3
4
5
6
6
7
8
9
And this is the script as far as I've managed:
... (2 Replies)
Discussion started by: heliode
2 Replies
4. Shell Programming and Scripting
Hi,
I am writing a Perl script that reads in many lines, if a line meets the criteria I want to edit, it. For example, the script will return the following example line... test=abc123
All I want to do is strip off the "test=" and just be left with the abc123. In my script I can easily... (3 Replies)
Discussion started by: edrichard
3 Replies
5. Shell Programming and Scripting
Hi, guys. I have one question:
I need to search for a string in a file, and then extract another string from the file and assign it to a variable.
For example:
the contents of the file (group) is below:
...
ftp:x:23:
mail:x:34
...
testing:x:2001
sales:x:2002
development:x:2003
...... (6 Replies)
Discussion started by: daikeyang
6 Replies
6. UNIX for Dummies Questions & Answers
Hi.
I have a log file which gets updated by a java process and it uses ASCII STX and ETX characters (i.e CTRL-B and CTRL-C characters) to demarcate each XML message logged.
so the format of the file is something like
STX XML_MESSAGE1
..
..
ETX STX XML_MESSAGE2
..
..
ETX
each XML... (4 Replies)
Discussion started by: gregoryp
4 Replies
7. Shell Programming and Scripting
continuing from my previous post, whose link is given below as a reference
https://www.unix.com/shell-programming-scripting/171076-shell-scripting.html#post302573569
consider there is create table commands in a file for eg:
CREATE TABLE `Blahblahblah` (
`id` int(11) NOT NULL... (2 Replies)
Discussion started by: vivek d r
2 Replies
8. Shell Programming and Scripting
Hi,
I have a unix file with contents as below
Line1: ABC MNN X$$QWERTY$$ JKL
Line2: HELLO $$HOW$$ ARE $$YOU$$ DOING
i want to extract the string between $$ and $$ ie i want the output as QWERTY
HOW YOU
i want those strings seperated by some character say |
desired output is... (7 Replies)
Discussion started by: vinredmac
7 Replies
9. Shell Programming and Scripting
Need Assistance in shell programming... I have a huge file which has multiple stations and i wanted to search particular station and extract few lines from it and the rest is not needed
Bold letters are the stations . The whole file has multiple stations .
Below example i wanted to search... (4 Replies)
Discussion started by: ajayram_arya
4 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have a file that looks something like
>1-18*anc... (12 Replies)
Discussion started by: jyu429
12 Replies
gdlpp(1) gdlpp(1)
NAME
gdlpp - GDL (Graphite Description Language) preprocessor
SYNOPSIS
gdlpp [options] [infile [outfile] ]
OPTIONS
-B No machine specific built-in symbols
-b Output any parentheses, brace or bracket unbalance
-C Write source file comments to output
-D Define a symbol with the given (optional) value "symbol[=value]"
-d Display all specified options
-E Ignore non-fatal errors
-F Output all included file names on stderr
-f Output all defined functions' names on stderr
-H Output all whitespaces from the source file
-h Output this help text
-I Add directory to the #include search list
-J Allow nested comments
-j Enable warnings for nested comments
-LL Don't output #line instructions
-L Don't output the 'line' keyword in "#line" instructions
-M Don't warn for missing include files
-N Don't predefine target-specific names
-n Toggle prefs usage
-P Don't recognize C++ comment style
-p Enable warnings on non ANSI preprocessor instructions
-Q Ignore but visualize undefined flags
-q Ignore all undefined flags
-R Evaluate the right part first in symbol concatenations
-s Include the following string at the top of each function
-S Specify sizes for #if sizeof
-t This function should not get an initial function
-U Undefine symbol
-V Output version information
-W Output all #defines
-WWW Web mode preprocessing
-w Only output #defines
-X Include file
grcompiler 25 February 2011 gdlpp(1)