It could be possible only if there are some fixed conditions.
For eg. take your data.
1. If you think Filed1 and field3 will never have cammas in them, then logically you need to remove the first and the last commas (or say last 5 commas). And this can be done.
2. Or you can avoid those that come with in quotes (double " or single ' or some other character).
Like
Without any condition, how will you yourself decide which should not/be removed?
I have scripts which I want to convert in Linux format.
Note these scripts are in txt format.But I want to convert them in Linux, as DBA's will be using this script.
Any command or utility which converts tht files in proper Linux format.
Thanks in Adavce.
Kunal (1 Reply)
Hello gurus,
I have three korn shell script 3.1, 3.2, 3.3. I would like to call three shell script in one shell script.
i m looking for something like this
call 3.1;
If 3.1 = "complete" then
call 3.2;
if 3.2 = ''COMPlete" then
call 3.3;
else
exit
The... (1 Reply)
Hi All,
I have a requirement to perform the following checks.
Input file is a "|" delimited file and looks like this.
A|c1|c2|c3|....
B|G1|G2|G3....
C|H1|H2|H3...
A|c4|c5|c6|....
B|G4|G5|G6....
C|H4|H5|H6...
Now the check is to see if all the "A" records have a corresponding B... (7 Replies)
Hello,
I am trying to show today's date and time in a better format than ‘date' (Using positional parameters). I found a command mktime and am wondering if this is the best command to use or will this also show me the time elapse since 1/30/70? Any help would be greatly appreciated, Thanks... (3 Replies)
Hi,
I am new to shell scripting and exploring it , I have developed few sample shell script but I have developed them on windows xp notepad and then saving them on folder and then testing them on cywgin and running perfectly...but these scripts are in dos format and I want to convert them in unix... (1 Reply)
I am trying to count records of particular format from a file and assign it to a variable. I tried below command
br_count=wc -l "inputfile.dat"| awk -F"|" '{if (NF != "14") print }'
but I amnot able to get it done. Please share me some idea how to get it done.
Thanks in advance (7 Replies)
Hi Friends,
Am new to Unix world and this is my first post in this forum.
I was stuck in displaying the content.
while displaying the content the below points to be taken care
1 ) The header format is repeating
2) To display the value in table format... (2 Replies)
Hi,,
I have requirement that i need to get DISTINCT values from a table and if there are two records i need to update it to one record and then need to submit INSERT statements by using the updated value as a parameter. Here is the example follows..
SELECT DISTINCT ID FROM OFFER_GROUP WHERE... (1 Reply)
I've been working on a tool to format (style) shell programs, much like gofmt for Go. After much testing and personal use, I'm throwing it out there to see if it's useful to anyone else.
GitHub - mvdan/sh: A shell parser and formatter in Go
You'll need golang to build and install it. If this... (11 Replies)
Discussion started by: mvdan
11 Replies
LEARN ABOUT DEBIAN
xorgfoundation
XORGFOUNDATION(7) Miscellaneous Information Manual XORGFOUNDATION(7)NAME
XOrgFoundation - X.Org Foundation information
SYNOPSIS
Release 6.7 and later of X Version 11 is brought to you by the X.Org Foundation.
DESCRIPTION
The X.Org Foundation is an independent, not-for-profit 501(c)(3) charity corporation. It was formed in 2004 as the successor to the X.Org
Group at The Open Group. The purpose of the X.Org Foundation is to foster the development, evolution, and maintenance of the X Window Sys-
tem, a comprehensive set of vendor-neutral, system-architecture neutral, network-transparent windowing and user interface standards. Mem-
bership in the X.Org Foundation is free and open to anyone. The X.Org Foundation hosts a public git repository of the source code on
freedesktop.org.
The X Window System was created in the mid-1980s at the Massachusetts Institute of Technology. In 1988, MIT formed a member-funded consor-
tium to provide the technical and administrative leadership necessary to support further development of the X Window System. In 1992, MIT
and the membership decided it was in their best interests to move the consortium out of MIT and create an independent, stand-alone organi-
zation. All rights to the X Window System were assigned by MIT to X Consortium, Inc. on January 1, 1994. On December 31, 1996 the X Con-
sortium, Inc. closed its doors and all rights to the X Window System were assigned to The Open Group (then known as the Open Software Foun-
dation).
ADDRESSES
The X.Org Foundation's web site is http://www.x.org/
The X.Org Foundation's public ftp site is ftp://ftp.x.org/
Information about the X.Org Foundation git repository is on the X.Org web site at http://www.x.org/wiki/Development/git
X Version 11 xorg-docs 1.6 XORGFOUNDATION(7)