Sponsored Content
Top Forums Shell Programming and Scripting I want Trailer to be added into the text file. Post 302303225 by Haque123 on Thursday 2nd of April 2009 07:13:25 AM
Old 04-02-2009
Amazing i worked thats a ton Jhon!!! Smilie U rock buddy I have seen many of your solutions on this forum and i used some of your logics as well Im ur fan folk !!! Smilie cheers
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Removing trailer from a flat file!!!

Hi, I get some flat files with trailer which gives the totol records count and i want to remove the trailer from the file. i used the following command it works fine with a single file. cat file_name | grep -v 'Total records:' > file1 mv file file_name But i dont know how to remove the... (12 Replies)
Discussion started by: kumarsaravana_s
12 Replies

2. Shell Programming and Scripting

Get the latest added part of a text file?

Hi, I want to get the latest added part of a text file sent over the network to for analysis. Is there a tool to use to keep track of which part of a text file that has already been analysed so only the "new" lines will be sent and handled? I have checked a few tools but I still donīt know how to... (3 Replies)
Discussion started by: pcrs
3 Replies

3. Shell Programming and Scripting

Merge text files while combining the multiple header/trailer records into one each.

Situation: Our system currently executes a job (COBOL Program) that generates an interface file to be sent to one of our vendors. Because this system processes information for over 100,000 employees/retirees (and growing), we'd like to multi-thread the job into processing-groups in order to... (4 Replies)
Discussion started by: oordonez
4 Replies

4. Shell Programming and Scripting

Removing Header & Trailer from a file

Hi All, I am karthik. I am new to this forum. I have one requirement. I have a file with header and footer. Header may be like HDR0001 or FILE20090110 (Assume it is unknown so far, but i am sure there is a header in the file) likewise file has the trailer too. I just... (7 Replies)
Discussion started by: karthi_gana
7 Replies

5. Shell Programming and Scripting

Need to echo a text where a (.) is added to the end of line during on-going copy or ftp

Hello All, I would like to create a script to echo a text where a (.) dot is added every 2 seconds to the end of this text (with a limit of 10 dots) as long as a file copy or ftp is ongoing and once the copy is finished it adds "done" to the end of this text line. please see the below example: ... (6 Replies)
Discussion started by: Dendany83
6 Replies

6. UNIX for Dummies Questions & Answers

Adding header and trailer into a file

Hi, I want to add the below Header to all the files in sequence File1,File2,File3...etc "ABC,<number of chracter in the file>" e,g - If File1 is as below pqrstuvdt abcdefgh then I want to add the above header into it ,So that File1 becomes as below ABC,17 pqrstuvdt abcdefgh ... (9 Replies)
Discussion started by: spari2
9 Replies

7. Shell Programming and Scripting

Script to validate file header and trailer

Hi, I need a script that validates a file header/detail/trailer. File layout is: Header - Rec_Type|File_name|File_Date Detail - Rec_Type|field1|field2|field3... Trailder - Rec_Type|File_name|File_Date|Record_count Sample Data: HDR|customer_data.dat|20120709... (7 Replies)
Discussion started by: ash_sh
7 Replies

8. Shell Programming and Scripting

Verify the header and trailer in file

please see my requirement, I hope I am clear. (9 Replies)
Discussion started by: mirwasim
9 Replies

9. Programming

Dynamically added text fields passed to PHP script

If I am posting this to the wrong section please move it somewhere it fits. I apologize if this is not the correct section. I have a site where I want to have form that in a "Visitor name" section to be able to add fieldets as needed. I think I have that worked out. So the below code is the... (4 Replies)
Discussion started by: GroveTuckey
4 Replies

10. UNIX for Dummies Questions & Answers

Sending mail to multiple recipient added in a text file

I am trying to find a code that can help me mail to a list of recipients which are in a text file. Sample code $cat recipient.txt me@test.com me1@test.com me2@test.com I want a mailx step that can read contents of recipient.txt and mail to all the users. I don't want to use mails... (1 Reply)
Discussion started by: Gurkamal83
1 Replies
pork(1) 							   USER COMMANDS							   pork(1)

NAME
pork - An AOL Instant Messenger client for the UNIX console. VERSION
version 0.99.0 SYNOPSIS
pork [options] DESCRIPTION
Pork is a console based client for the AOL Instant Messenger service that uses the ncurses screen library. Pork is intended to be fast, useable, and stable. Pork was written by Ryan McCabe. OPTIONS
-H or --host <addr> Use the local address specified for outgoing connections -p or --port <port> Use the local port specified for the main connection -h or --help Display this help text -v or --version Display version information and exit USAGE
To log into AIM, type /connect <username>, where <username> is your AIM screen name. If you don't have an AIM screen name, you can get one at http://aim.aol.com. Pork now supports IRC. The syntax for connecting to an IRC server is /connect -irc <username> <server>[:<port>[:<password>]] [... <serverN>[:<port>[:<password>]]] When you're inside the client, type /help to find out what commands are supported. Type /help <command> to get help on a particular com- mand. Below are the default key bindings. All keys can have their bindings changed or removed completely. Enter the commands '/help bind' and '/help keys' for more information. KEY BINDINGS
Default main key bindings: CTRL+A Move the cursor to the start of the line. CTRL+B Move the cursor to the start of the previous word. CTRL+E Move the cursor to the end of the line. CTRL+F Move the cursor to the start of the next word. CTRL+H Backspace. META+BACKSPACE Delete the previous word on the input line. CTRL+K Close the current window. CTRL+L Refresh the display. CTRL+T Toggle timestamps on messages. CTRL+U Clear the input line. CTRL+X Switch to the next window in the window list. CTRL+Y Switch to the previous window in the window list. TAB Switch the input focus to the buddy list. META+/ Command auto-completion. META+<1-9> Switch to the window having the specified number. HOME Scroll to the top of the display. END Scroll to the bottom of the display. PAGE UP Scroll the display up one page. PAGE DOWN Scroll the display down one page. UP ARROW Scroll the input history list up. DOWN ARROW Scroll the input history list down. CTRL+META+X Bind the next account to the current window. Default buddy list key bindings: END Move the buddy list cursor to the bottom of the buddy list. HOME Move the buddy list cursor to the top of the buddy list. PAGE UP Move the buddy list cursor one page up. PAGE DOWN Move the buddy list cursor one page down. UP ARROW Move the buddy list cursor up. DOWN ARROW Move the buddy list cursor down. ENTER Collapse the group the cursor is on, or if the cursor is on a user, open a conversation window with that user (or go to the conversation window, if one already exists). TAB Switch to main input focus. CTRL+L Refresh the buddy list display. META+p Remove the user under the cursor from the permit list. META+P Add the user the cursor is on to the permit list. META+b Remove the user the cursor is on from the block list. META+B Add the user the cursor is on to the block list. META+w Warn the user the cursor is on. META+W Warn the user the cursor is on anonymously. a Get the away message of the user the cursor is on. i Get the profile and away message of the user the cursor is on. CTRL+X Switch to the next window in the window list. CTRL+Y Switch to the previous window in the window list. FILES
~/.pork/porkrc - The pork configuration file ~/.pork/screenname.blist - The buddy list for "screenname" BUGS
ryan@numb.org - Please report bugs to this address HOMEPAGE
http://dev.ojnk.org AUTHORS
Pork was written by Ryan McCabe <ryan@numb.org>. This manpage was written by Benjamin Seidenberg <astronut@dlgeek.net>. Pork AIM Client July, 2005 pork(1)
All times are GMT -4. The time now is 02:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy