Sponsored Content
Operating Systems AIX Re-intializing the file after editing Post 302192610 by ngarg9 on Wednesday 7th of May 2008 12:03:19 PM
Old 05-07-2008
Re-intializing the file after editing

Hello guys,

Could you please help me to re-intialize a file after editing.

the file name is called .profile . I copied this file to my desktop using FTP and editted this file.

I copied this file back to AIX server using ftp and I want to reintialize it. Could you please list down the steps how to do that.

Appreciate your help.

Regards,

Ronit.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Editing the end of the file without loading the entire file

hi! I am a newbee. I would really appreciate if you can answer the following question: I have a huge data file, 214MB with several coloumns. I need to delete the very last line of the file. Everything I know takes a lot of time to do it ( because I have to open the file in an editor or run a... (3 Replies)
Discussion started by: Garuda
3 Replies

2. Shell Programming and Scripting

Editing file

Hi, I am in a situation wherein am getting file file certailn values suppose 1u56979hhghhklklkkkjkjkjk 0 0 0 The file will have values like above only. I need to add another field of NULL value(of length 9) at the end of first column i.e. It should like this after editing:... (4 Replies)
Discussion started by: rahul303
4 Replies

3. Shell Programming and Scripting

file editing

hi experts, please help me in writting the script.. i have two files file1 and file 2 i have to write a script which will take input parameters as file1 and file2 file1: ...... 1 2 3 4 file2: ..... 1 2 output (6 Replies)
Discussion started by: subhendu81
6 Replies

4. Shell Programming and Scripting

editing a file

i am writing a script to edit entries in a file. what command will edit a specific file? ex: echo) "what number would you like to change read "number" this is where I am stuck. what command will edit my specific file? (3 Replies)
Discussion started by: gustave
3 Replies

5. Shell Programming and Scripting

Help with file editing while keeping file format intact

Hi, I am having a file which is fix length and comma seperated. And I want to replace values for one column. I am reading file line by line in variable $LINE and then replacing the string. Problem is after changing value and writing new file temp5.txt, formating of original file is getting... (8 Replies)
Discussion started by: Mruda
8 Replies

6. Shell Programming and Scripting

editing line in text file adding number to value in file

I have a text file that has data like: Data "12345#22" Fred ID 12345 Age 45 Wilma Dino Data "123#22" Tarzan ID 123 Age 33 Jane I need to figure out a way of adding 1,000,000 to the specific lines (always same format) in the file, so it becomes: Data "1012345#22" Fred ID... (16 Replies)
Discussion started by: say170
16 Replies

7. Shell Programming and Scripting

Need help in editing a file

I have a file which has 10 million records in it. When am trying to edit the file with vi, the following error occurs: ~ ~ ~ ~ ~ ~ ~ ~ "file1" Value too large for defined data type Is there any way that I can edit this file without using vi? Any help would be really appreciated.... (8 Replies)
Discussion started by: bobby1015
8 Replies

8. Shell Programming and Scripting

File Editing

Never mind!. Thanks (1 Reply)
Discussion started by: smarones
1 Replies

9. UNIX for Dummies Questions & Answers

[Solved] Variable defined in .bashrc not intializing in script

I have the variable defined in .bashrc BIN_DIR="/usr/local/dw" and in my shell script i am using below. #!/bin/bash echo "Bin Dir: ${BIN_DIR}" . "${BIN_DIR}"/dwh_Loadfuncs.sh Output: Bin Dir: /usr/local/dw/dwh_LoadXMLFileIntoStage.sh: line 7: /dwh_Loadfuncs.sh: No such file or... (3 Replies)
Discussion started by: Ariean
3 Replies

10. Shell Programming and Scripting

Convert vi editing to text editing

Dear Guru's I'm using Putty and want to edit a file. I know we generally use vi editor to do it. As I'm not good in using vi editor, I want to convert the vi into something like text pad. Is there any option in Putty to do the same ? Thanks for your response. Srini (6 Replies)
Discussion started by: thummi9090
6 Replies
POEDIT(1)						      General Commands Manual							 POEDIT(1)

NAME
poedit - program to aid editing gettext po files SYNOPSIS
poedit [-a] [-n] <file.po> potooledit [-a] [-n] <file.po> DESCRIPTION
poedit is a shell script, which uses potool(1), iconv(1) and your favourite editor to help you edit gettext po files. It first retrieves only the untranslated entries from the file (or, if -a is specified, reorders the entries so that the translated ones are grouped separately from the untranslated ones) and puts them into a temporary file. Then recodes the file to the charmap of your cur- rent locale, and runs your favourite editor on the temporary file so you can add new translations. After you have finished, it recodes the file back to the original charset and merges the new translations back into the original file. poedit is also known as potooledit on Debian systems, to avoid a name clash with an unrelated program of the same name. OPTIONS
-a causes poedit to include already translated entries as well in the temporary file for editing (they are grouped separately, though). Without this option, only the untranslated entries (and the file header) are presented for editing. -n causes poedit not to do any charset recoding before nor after editing the file. You should only use this option if you know what you are doing. Be particularly careful when using this option (without -a) on files that are in an encoding incompatible with your locale's charmap. In that case, the intermediate file to be edited will probably only contain ASCII characters, which means your editor will be free to interpret this as your default locale encoding. This in turn, will make the file invalid when it is merged together with the already translated messages. See Debian bug #297074 for an example of this happening. SEE ALSO
potool(1), postats(1), locale charmap(1), msgmerge(1), msgfmt(1). AUTHOR
Poedit was written by Zbigniew Chyla and is now being maintained by Marcin Owsiany <porridge@debian.org>. September 21, 2007 POEDIT(1)
All times are GMT -4. The time now is 09:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy