Sponsored Content
Full Discussion: format lines on a file
Top Forums Shell Programming and Scripting format lines on a file Post 302468926 by iga3725 on Thursday 4th of November 2010 07:40:42 AM
Old 11-04-2010
Great rdcwayx!!

works perfectly :-)

Thanks
Israel.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Convert UTF8 Format file to ANSI format

:) Hi i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error Function i used it as $ iconv -f UTF8 -t ANSI filename Error iam getting is NOT Supported UTF8 to ANSI please some help me out on this.........Let me... (1 Reply)
Discussion started by: rajreddy
1 Replies

2. UNIX for Dummies Questions & Answers

Convert UTF8 Format file to ANSI format

:confused: Hi i am trying to convert a file which is in UTF8 format to ANSI format i tried to use the function ICONV but it is throwing error Function i used it as $ iconv -f UTF8 -t ANSI filename Error iam getting is NOT Supported UTF8 to ANSI please some help me out on... (9 Replies)
Discussion started by: rajreddy
9 Replies

3. UNIX for Dummies Questions & Answers

To convert multi format file to a readable ascii format

Hi I have a file which has ascii , binary, binary decimal coded,decimal & hexadecimal data with lot of special characters (like öƒ.ƒ.„İİ¡Š·œƒ.„İİ¡Š· ) in it. I want to standardize the file into ASCII format & later use that as source . Can any one suggest a way a logic to convert such... (5 Replies)
Discussion started by: gaur.deepti
5 Replies

4. Shell Programming and Scripting

Format data in new lines

Hi All, I have data in the following format. Australia,"CISCO877-SEC-K9 CISCO1841-ADSL CISCO2821" Australia,"CISCO877-SEC-K9 CISCO1841-ADSL CISCO2821" Austria,"CISCO871-K9 CISCO1841 CISCO1841-SEC/K9 CISCO1812/K9" Austria,"CISCO1841-SEC/K9 CISCO1812/K9" (3 Replies)
Discussion started by: rahulrathod
3 Replies

5. Shell Programming and Scripting

Need help to print lines contains particular string format in a file

Hi, I want to print the lines in a file that matches particular string format using shell scripting. (4 Replies)
Discussion started by: sudhakaryadav
4 Replies

6. Shell Programming and Scripting

Converting windows format file to unix format using script

Hi, I am having couple of files which i used to copy from windows to Linux, so now in case of text files (CTRL^M) appears at end of line. I know i can convert this windows format file to unix format file by running dos2unix. My requirement here is that i want to do it automatically using a... (5 Replies)
Discussion started by: sarbjit
5 Replies

7. Shell Programming and Scripting

incrementing lines in the file & format output.

Hi All, I need read the file and out put format as below using ksh, I wrote below script its keep on repeating first line in the file. may i know the best way to get the below out put while incrementing line in the file. cat b.txt |awk '{print $0}' |while read line do aa=`cat $line |head -1... (7 Replies)
Discussion started by: ashanabey
7 Replies

8. UNIX for Dummies Questions & Answers

Script to display lines in a file in a particular format

I have a bunch of files in various folders. I want to go through each of them and display certain lines in a particular format All files have a similar format Date: Time: User: Message: Miscellaneous: (and some other stuff)I want to display to only the "Date:", "Time:" "User:" lines in... (7 Replies)
Discussion started by: newbiegal01
7 Replies

9. Shell Programming and Scripting

UNIX command to count blank lines in a file in DOS format

Hi Team, The content of the file is as follows. asdf 234 asdf asdf dsfg gh 67 78 The file is in DOS format (not in Unix Format). The file is transferred to Unix. I need a unix command to check the number of blank lines in a input (comming from Windows). If it is greater than... (4 Replies)
Discussion started by: kmanivan82
4 Replies

10. Shell Programming and Scripting

Identify lines with wrong format in a file and fix

Gurus, I have a data file which has a certain number of columns say 101. It has one description column which contains foreign characters and due to this some times, those special characters are translated to new line character and resulting in failing the process. I am using the following awk... (4 Replies)
Discussion started by: tumsri
4 Replies
SPACENAVD(8)						      System Manager's Manual						      SPACENAVD(8)

NAME
spacenavd, spnavd_ctl - daemon for 3D-input-devices SYNOPSIS
spacenavd spnavd_ctl DESCRIPTION
This manual page documents briefly the spacenavd commands. The spacenav project provides a free, compatible alternative, to the proprietary 3Dconnexion device driver and SDK, for their 3D input devices (called "space navigator", "space pilot", "space traveller", etc). spacenavd, is a free software replacement user-space driver (daemon), for 3Dconnexion's space-something 6dof input devices. It's compatible with the original 3dxsrv proprietary daemon provided by 3Dconnexion, and works perfectly with any program that was written for the 3Dcon- nexion driver. Starting Depending on how your system startup process is set up, it might be the case that the spacenavd daemon starts before the X server (for instance if you don't use a graphical login). In that case the daemon will start properly, but won't connect to the X server until explic- itly told to do so. You can do that by running spnavd_ctl x11 start as root, or by using the graphical spnavcfg program. You don't really want to have to do that all the time though, so it's a better idea to add the aforementioned spnavd_ctl command to either your ~/.xsession or ~/.xinitrd file, or the system-wide /etc/X11/Xsession file. Configuration The spacenavd daemon reads a number of options from the /etc/spnavrc file. If that file doesn't exist, then it uses default values for everything. You may use the graphical spnavcfg program to interactively set any of these options. The daemon should respond immediately to your changes, and also the configuration file should be updated automatically. AUTHOR
spacenavd was written by John Tsiombikas (nuclear@member.fsf.org) This manual page was assembled by M G Berberich <berberic@invalid>, for the Debian project (but may be used by others). January 27, 2009 SPACENAVD(8)
All times are GMT -4. The time now is 09:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy