There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming google gpu graphics hard drive hardware hdmi internet laptop malware memory modem monitor motherboard network printer problem ram registry repair router security slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
sed and ^^ ASCII(30)

Reply  
Thread Tools
surfnschultz's Avatar
Member with 191 posts.
 
Join Date: Nov 2003
22-Dec-2004, 06:52 PM #1
sed and ^^ ASCII(30)
I am trying to remove with sed a double ^ or ASCII(30) RS ^^

sed s/\^^\//g file1 > file2

This doesn't work


sample of the File would be

^L^^ a control L and a RS or ASCII(30)




any help would be very appreciated.
surfnschultz's Avatar
Member with 191 posts.
 
Join Date: Nov 2003
22-Dec-2004, 07:04 PM #2
AIX sed and ^^
This is on a AIX system, just so you know the OS
surfnschultz's Avatar
Member with 191 posts.
 
Join Date: Nov 2003
22-Dec-2004, 07:32 PM #3
solved
OK got it. I need to use the characters from the file I could not mock it up in vi for some reason I was unable to use the cntrl v ^ didn't like. I edited the input file took away the characters I need and ran this line

s/^L^^//g


cool nice to solve one before the tech on here made me feel like the junior member I am. hahaha
Squashman's Avatar
Trusted Advisor with 18,705 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
Experience: Bocks of Rox
23-Dec-2004, 12:16 AM #4
Yeah, your first shot was totally wrong.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 04:24 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.