06-06-2012
This User Gave Thanks to vbe For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am trying to make a script that will replace backslashes in a file, but only if the occurance is a pathname. In the file, there are a lot of regular expressions as well, so I'm trying to preserve the integrity of those regular expressions, but convert Windows relative paths. I'm using bash and... (1 Reply)
Discussion started by: Loriel
1 Replies
2. Shell Programming and Scripting
I have a process run weekly where I must convert data formats for about thirty files. I read a text file that provides all of the filenames and switch settings.
My perl code is:
for ($j = 1; $j <= $k; $j++)
{
open(FIN2,$fin2) || die "open: $!";
do other stuff
}
Every once in... (2 Replies)
Discussion started by: joeyg
2 Replies
3. Shell Programming and Scripting
Hi ,
My requirement is that i need to search for a number of strings in a log file and print them with line numbers.The search should be date wise.
The sample log file is :
Jan 17 02:45:34 srim6165 MQSIv500: (UKBRKR1P_B.LZ_
BENCHMARKS)BIP2648E: Message backed out to a queue; node... (6 Replies)
Discussion started by: charudpss
6 Replies
4. Shell Programming and Scripting
Hello, I'm a computer science major and I'm having problems dealing with file names with spaces in them. Particularly I'm saving a file name in a variable and then using the variable in a compare function i.e.
a='te xt.txt'
b='file2.txt'
cmp $a $b
If anyone could help me with this particular... (10 Replies)
Discussion started by: jakethegreycat
10 Replies
5. Shell Programming and Scripting
Hello, I am working on a coding project for a class and to test the program I have created, I have come up with 100 different test cases. The program takes four text files as input, so each of the test cases is contained in a folder with four files.
I have a folder called 'tests', within which... (1 Reply)
Discussion started by: dpryor
1 Replies
6. UNIX Desktop Questions & Answers
Hi Friends,
I have two files as input with data that looks like this:
file1.txt
1
2
3
4
file2.txt
a,aa
b,bb
c,cc
d,dd
e,ee
f,ff
instead of me doing 2 while loops to get the combinations
while read line_file1 (2 Replies)
Discussion started by: kokoro
2 Replies
7. UNIX for Dummies Questions & Answers
Can someone please help me to learn how to deal with loops, arrays and grep?
I have two arrays (lets say I and j) each in a separate file
And have file with lines of data I need to extract, such as
Ruby Smith: some text here
Ruby Smith: some other text here
Ruby Brown: some text here
Ruby... (10 Replies)
Discussion started by: A-V
10 Replies
8. Shell Programming and Scripting
Korn Shell
I have hundreds of small files like below created every day. A midnight cron job moves them to the location /u04/temp/logs
But sometimes I have to manually move these files based a certain dates or time.
I have two basic requirements
1.Using mv command I want to move all .dat... (2 Replies)
Discussion started by: kraljic
2 Replies
9. Shell Programming and Scripting
Is there a reliable way to deal with whitespace in array indicies?
I am trying to annotate fails in a database using a table of known fails.
In a begin block I have code like this:
# Read in Known Fail List
getline < "'"$failListFile"'"; getline < "'"$failListFile"'"; getline <... (6 Replies)
Discussion started by: Michael Stora
6 Replies
10. Shell Programming and Scripting
I am passing multiple files in awk & since one of the file is empty(say file3) so the same gets skipped & logic goes for toss. Need suggestion/help in checking and putting additional checks for the same
awk -F, 'FNR==1 {++filecounter}
filecounter==1 {KRL=$2;next}
filecounter==2... (8 Replies)
Discussion started by: siramitsharma
8 Replies
LDP(7) Miscellaneous Information Manual LDP(7)
NAME
LDP - Intro to the Linux Documentation Project, with help, guides and documents
SYNOPSIS
The Linux Documentation Project (LDP) provides a variety of free documentation resources including guides, FAQs, HOWTOs, and man-pages to
the Linux community.
AUTHORS
The various documents in the LDP archives are maintained by individual authors, and are listed in the beginning of each HOWTO. If you have
any questions or inputs to a document we encourage you to contact the authors directly.
WEB PAGES
The LDP has its own dedicated web site as do many of the various translations projects which are linked from the main LDP web site at:
http://www.tldp.org/
MAN PAGES
A web page with status information for manual pages and translations is found at:
http://www.win.tue.nl/~aeb/linux/man/
MAILING LISTS
LDP has a number of mailing lists, such as
<announce@en.tlpd.org>
Announcements from the LDP project
<discuss@en.tldp.org>
General discussion on the LDP project
<docbook@en.tldp.org>
Questions about the use of DocBook
For subscription information, see the website.
If you are interested in DocBook beyond the simple markup of your LDP document, you may want to consider joining one of the OASIS DocBook
mailing lists. Please see http://docbook.org/mailinglist/index.html for more information.
FILES
Most distributions include the HOWTOs and mini-HOWTOs in the installation
/usr/doc/ (old place for documentation)
/usr/share/doc/ (new place for documentation)
/usr/share/doc/HOWTO/ (HOWTO files)
/usr/share/doc/HOWTO/mini/ (mini-HOWTO files)
SEE ALSO
info(1), man(1), xman(1x)
info pages as read with emacs(1) or info(1)
LDP
2001-11-15 LDP(7)