10-10-2016
That might be doable if you post the input data and the desired output. Which tools do you prefer?
Any attempts/ideas/thoughts from your side?
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I have a doubt in SQL Loader.
We have SEQUENCE function in SQL Loader or can create Sequence in Oracle database for generating a number sequence for
a column while loading data using SQL Loader into table or multiple tables.
My requirment is this.
For the first run in SQL... (2 Replies)
Discussion started by: vinoth_kumar
2 Replies
2. Shell Programming and Scripting
Hello,
I have a file that looks like this:
num11 num12 num13 word1
num21 num22 num23 word2
num31 num32 num33 word3
.
.
.
I would like to search for the lines that contain a given number, but I need to narrow the search only to the first field, that means that the number has to... (4 Replies)
Discussion started by: shira
4 Replies
3. Shell Programming and Scripting
Hi All,
I am doing a perl script validation for Phone numbers.
The normal phone number format is 01-32145.
I need to do two validations for the phone number
1) A valid phone number can have at least two digits as prefix and at least five digits as postfix. e.g. 01-01011
2) A... (5 Replies)
Discussion started by: subin_bala
5 Replies
4. UNIX for Advanced & Expert Users
a=`grep -i a.sh filename.sh|cut -d "|" -f4`
b=`expr $a + 1`
filename=`grep -i a.sh filename.sh`
while read line
do
echo $line
echo $filename
if
then
echo "entered if"
nawk ' BEGIN { FS="|"; OFS="|" }
{ sub('$a', '$b', $4)
print $0}' filename.sh
fi
echo "exit if"
done <... (1 Reply)
Discussion started by: hs.giri
1 Replies
5. Shell Programming and Scripting
Hi Everyone,
I have a flatfile "inbox.txt" which contains some information:
Location 0, folder "Inbox", SIM memory, Inbox folder
SMS message
SMSC number : "+24800000023"
Sent : Sat 04 Aug 2012 09:01:00 PM +0700
Coding : Default GSM alphabet... (5 Replies)
Discussion started by: testcase
5 Replies
6. Shell Programming and Scripting
Hello all
I have a data base of information that is formatted like so:
JSD4863 XXX-XX-XXXX DOE, JOHN C JR-II BISS CPSC BS INFO TECH 412/779-9445
I need the last four digits of the phone number. However, many lines contain
'garbage data' that I'm not interested in. So i used a 'for loop'... (7 Replies)
Discussion started by: smartSometimes
7 Replies
phones(4) Kernel Interfaces Manual phones(4)
NAME
phones - File containing the remote host phone number database
SYNOPSIS
/etc/phones
The /etc/phones file contains the system-wide private phone numbers for the tip(1) program.
DESCRIPTION
This file is normally unreadable, and so may contain privileged information. The format of the file is a series of lines of the form: sys-
temname phone-number
where systemname is defined in the /etc/remote file and phone-number is the system phone number terminated only by a comma or by the end of
the line. Only one phone number per line is permitted. However, if more than one line in the file contains the same system name, tip will
attempt to dial each one in turn, until it establishes a connection.
EXAMPLES
The following example shows the entry in /etc/phones for the system, zeus: zeus 9=555-9898
In this example, the = sign (or an asterisk) forces the autocall units to pause and wait for a second dial tone, when going through an
exchange. The = is required by the DF02-AC (an asterisk would be required by the BIZCOMP 1030).
RELATED INFORMATION
Commands: tip(1).
Files: remote(4). delim off
phones(4)