Sponsored Content
Full Discussion: removing frame charecters
Top Forums UNIX for Advanced & Expert Users removing frame charecters Post 302184654 by tkbharani on Saturday 12th of April 2008 09:23:45 AM
Old 04-12-2008
thanks Buddy..that works
I know FS which is file seperator.
1. Can you explain me the key words like OFS.
2. how does this works for each line in a file..there are no loops for going to next line.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Restricted charecters in FTP password

hi i am unable to connect to FTP server.My FTP password contain one special charecter '#'.it might be the problem for connecting.please clarify regarding this special charecter in the password.i need some information about restricted charecters in the shell script. thanks (5 Replies)
Discussion started by: srivsn
5 Replies

2. Shell Programming and Scripting

stripping out certain charecters

we are ftping zipped up files from the development server to the production server daily.The files are in this format filename.dat.20061231.12131.gz I have to unzip the file (i can do that with gunzip) and then strip out the timestamp after the .dat extension. I can do something like this ... (4 Replies)
Discussion started by: mervin2006
4 Replies

3. Shell Programming and Scripting

replacing a line of unknown charecters in a file

Hi All I have a requirement where using a script I grep a file for string (KSG/Password in below ) , get the next line which is the password and I need replace the whole line of unknown special charecters (encrypted password) with another line as given below . As in below i need to get... (12 Replies)
Discussion started by: malavm
12 Replies

4. Shell Programming and Scripting

frame multiple lines into one

Hi, i have a file with contents like below ( any number of entries can be there) 111 222 333 444 555 i need to make another file with single line like below: 111,222,333,444,555 (without ending , ) TIA Prvn (8 Replies)
Discussion started by: prvnrk
8 Replies

5. Programming

Help receiving a frame in C!

Hello everybody, I have a problem with a program i'm coding, the thing is that i need the program to check quickly if it receives a response, if not, just go ahead. My program sends the frame successfully, but it keeps waiting for the response until it receives something. That's what i need to... (2 Replies)
Discussion started by: Zykl0n-B
2 Replies

6. Shell Programming and Scripting

Removing repeating lines from a data frame (AWK)

Hey Guys! I have written a code which combines lots of files into one big file(.csv). However, each of the original files had headers on the first line, and now that I've combined the files the headers are interspersed throughout the new combined data frame. For example, throughout the data... (21 Replies)
Discussion started by: gd9629
21 Replies

7. UNIX for Dummies Questions & Answers

grep for special charecters

Hi, I need to grep for text between " 01/Aug" and " 02/Aug" in a text file. The awk command usually fails with the error saying "line too long" Is there other simpler ways to achieve this ? (12 Replies)
Discussion started by: shifahim
12 Replies

8. Shell Programming and Scripting

Removing special ^M charecters

Hi, This code works for me for file in $(find /path/to/dir -type f); do tr -d '\r' <$file >temp.$$ && mv temp.$$ $file done However, i want this code to skip all .class files. Can you help me with the modified code. (2 Replies)
Discussion started by: mohtashims
2 Replies

9. Shell Programming and Scripting

Remove ^M charecters in all files

Hi, I wish to remove special charecters at the end of each line "^M" from all files under a folder and sub-folders. I do not seem to have dos2unix or Perl and my OS is Linux mymachine 2.6.32-431.5.1.el6.x86_64 #1 SMP Fri Jan 10 04:11:43 IST 2014 x86_64 x86_64 x86_64 GNU/Linux (8 Replies)
Discussion started by: mohtashims
8 Replies

10. Shell Programming and Scripting

Need to remove ^M charecters from all files

Hi, Below is my script where i wish to remove '^M' charecters from all files in the directory and sub-directories. Below code which is not able to remove all '^M' characters from all my files in all sub directories. find properties/* -type f -exec sh -c ' for file do tr -d '^M' < $file >... (3 Replies)
Discussion started by: mohtashims
3 Replies
MORSE(6)							 BSD Games Manual							  MORSE(6)

NAME
morse -- reformat input as morse code SYNOPSIS
morse [-elps] [-d device] [-w speed] [-c speed] [-f frequency] [string ...] DESCRIPTION
The morse command reads the given input and reformats it in the form of morse code. Acceptable input are command line arguments or the stan- dard input. Available options: -l The -l option produces output suitable for led(4) devices. -s The -s option produces dots and dashes rather than words. -p Send morse the real way. This only works if your system has speaker(4) support. -w speed Set the sending speed in words per minute. If not specified, the default speed of 20 WPM is used. -c speed Farnsworth support. Set the spacing between characters in words per minute. This is independent of the speed that the individual characters are sent. If not specified, defaults to the effective value of the -w option. -f frequency Set the sidetone frequency to something other than the default 600 Hz. -d device Similar to -p, but use the RTS line of device (which must by a TTY device) in order to emit the morse code. -e Echo each character before it is sent, used together with either -p or -d. The -w, -c and -f flags only work in conjunction with either the -p or the -d flag. Not all prosigns have corresponding characters. Use '#' for AS, '&' for SK, '*' for VE and '%' for BK. The more common prosigns are '=' for BT, '(' for KN and '+' for AR. Using the -d flag, it is possible to key an external device, like a sidetone generator with a headset for training purposes, or even your ham radio transceiver. For the latter, simply connect an NPN transistor to the serial port device, emitter connected to ground, base connected through a resistor (few kiloohms) to RTS, collector to the key line of your transceiver (assuming the transceiver has a positive key supply voltage and is keyed by grounding the key input line). A capacitor (some nanofarads) between base and ground is advisable to keep stray RF away, and to suppress the minor glitch that is generated during program startup. ENVIRONMENT
Your LC_CTYPE locale codeset determines how characters with the high-order bit set are interpreted. ISO8859-1 ISO8859-15 Interpret characters with the high-order bit set as Western European characters. KOI8-R Interpret characters with the high-order bit set as Cyrillic characters. ISO8859-7 Interpret characters with the high-order bit set as Greek characters. FILES
/dev/speaker speaker(4) device file SEE ALSO
speaker(4) HISTORY
Sound support for morse added by Lyndon Nerenberg (VE6BBM) <lyndon@orthanc.ca>. Ability to key an external device added by Jorg Wunsch (DL8DTL). Farnsworth support for morse added by Stephen Cravey (N5UUU). BUGS
Only understands a few European characters (German and French), no Asian characters, and no continental landline code. Sends a bit slower than it should due to system overhead. Some people would call this a feature. BSD
June 7, 2005 BSD
All times are GMT -4. The time now is 06:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy