05-21-2008
Actually plain * is a syntax error, you need to backslash it.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi I have a spaced filled file having records like below:
What I want is to read line having RT3 at position 17-19 then go to position 2651 check the 18 characters (might be space filled till 18 characters). This position should have a... (6 Replies)
Discussion started by: COD
6 Replies
2. Shell Programming and Scripting
From unix script i want to read string value in a file from position 2 to 5. which command can be used or any alternatives there?? (2 Replies)
Discussion started by: krishnarao
2 Replies
3. Shell Programming and Scripting
Any Idea without entering any keystroke I can go to end of line in vi when I opening the file.
When I am opening Vi I want to goto last line.
when I give vi + filename it does not work.
Any clue why it does not work.
Thanks. (3 Replies)
Discussion started by: ekb
3 Replies
4. Shell Programming and Scripting
I am using the while-loop to read a file.
The file has lines with null-terminated strings (words, actually.)
What I have by that reading - just a first word up to '\0'!
I need to have whole string up to 'new line' - (LF, 10#10, 16#A)
What I am doing wrong?
#make file 'grb' with... (6 Replies)
Discussion started by: alex_5161
6 Replies
5. Shell Programming and Scripting
Hello ,
i have a fixed-length record file where each column has a specific position. how can retrive two or more column based on their positions in the file ?
Thank you (5 Replies)
Discussion started by: alain.kazan
5 Replies
6. Shell Programming and Scripting
hello I'm doing a unix program and i'm using many file csv.in each csv file the colums are separated by ";" I would like to know the position of a pattern. For example for a line yyyy, bbbb, cccc; ddddd;eeee. I will like for example by finding the position of the pattern "cccc" and the response is... (6 Replies)
Discussion started by: papis
6 Replies
7. Shell Programming and Scripting
Hello,
I need a program that read a file line by line and prints out lines 1, 2 & 3 after an empty line... An example of entries in the file would be:
SRVXPAPI001 ERRO JUN24 07:28:34 1775
REASON= 0000, PROCID= #E506 #1065: TPCIPPR, INDEX= 003F
... (8 Replies)
Discussion started by: Ferocci
8 Replies
8. Shell Programming and Scripting
Hi all,
I have a log file say Test.log that gets updated continuously and it has data in pipe separated format. A sample log file would look like:
<date1>|<data1>|<url1>|<result1>
<date2>|<data2>|<url2>|<result2>
<date3>|<data3>|<url3>|<result3>
<date4>|<data4>|<url4>|<result4>
What I... (3 Replies)
Discussion started by: pat_pramod
3 Replies
9. Shell Programming and Scripting
Hi Experts,
I have a tab deliminated file as below
myfile.txt
Local Group Memberships *Administrators *Guests
I need data in below format starting from 4th position.
myfile1.txt
Administrators Guests
the above one is just an example and there could... (15 Replies)
Discussion started by: Litu1988
15 Replies
LEARN ABOUT DEBIAN
tcl_backslash
Tcl_Backslash(3tcl) Tcl Library Procedures Tcl_Backslash(3tcl)
__________________________________________________________________________________________________________________________________________________
NAME
Tcl_Backslash - parse a backslash sequence
SYNOPSIS
#include <tcl.h>
char
Tcl_Backslash(src, countPtr)
ARGUMENTS
char *src (in) Pointer to a string starting with a backslash.
int *countPtr (out) If countPtr is not NULL, *countPtr gets filled in with number of characters in the backslash sequence, includ-
ing the backslash character.
_________________________________________________________________
DESCRIPTION
The use of Tcl_Backslash is deprecated in favor of Tcl_UtfBackslash.
This is a utility procedure provided for backwards compatibility with non-internationalized Tcl extensions. It parses a backslash sequence
and returns the low byte of the Unicode character corresponding to the sequence. Tcl_Backslash modifies *countPtr to contain the number of
characters in the backslash sequence.
See the Tcl manual entry for information on the valid backslash sequences. All of the sequences described in the Tcl manual entry are sup-
ported by Tcl_Backslash.
SEE ALSO
Tcl(3tcl), Tcl_UtfBackslash(3tcl)
KEYWORDS
backslash, parse
Tcl 8.1 Tcl_Backslash(3tcl)