LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 11-06-2012, 04:41 PM   #16
marky9074
Member
 
Registered: Nov 2003
Posts: 43

Original Poster
Rep: Reputation: 15

I did a quick boot into my slackware install and it works great.. thanks

Now, I need to see how to get it to work with busybox :/
 
Old 11-06-2012, 05:12 PM   #17
marky9074
Member
 
Registered: Nov 2003
Posts: 43

Original Poster
Rep: Reputation: 15
Hmm odd, I thought I had replied to this already... worked great when I booted into my slackware install... thanks

Just need to try and get it working on busybox now :/
 
Old 11-07-2012, 07:49 AM   #18
marky9074
Member
 
Registered: Nov 2003
Posts: 43

Original Poster
Rep: Reputation: 15
How odd.. on my IE9 it does not show that this thread has moved onto page 2...!!

Last edited by marky9074; 11-07-2012 at 07:53 AM.
 
Old 11-07-2012, 10:50 AM   #19
grail
Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 7,692

Rep: Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987
Why should busybox be any different if you are using awk or sed?
 
Old 11-07-2012, 02:33 PM   #20
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
Quote:
Originally Posted by grail View Post
Why should busybox be any different if you are using awk or sed?
As long as he sticks with the basic syntax, probably none. But as I mentioned, the commands offered in busybox do tend to supply only a very minimal subset of options, in order to keep the binary as small as possible. It's likely that most non-posix features are disabled.

Interestingly, I see now that ed isn't actually one of the included programs. Go figure.
 
Old 11-09-2012, 09:17 AM   #21
marky9074
Member
 
Registered: Nov 2003
Posts: 43

Original Poster
Rep: Reputation: 15
Code:
[Acer.AQ-CLIENT] → printf '%s\n' '?H0019? s/\(.\{8\}\).../#@\1  1/' 'g/^H0019/d' '/^#@/ s///' '%p' | ed header.p2
"header.p2", 108 lines, 8856 chars
: ed: unimplemented command
: ed: unimplemented command
: ed: can't find string "^#@"
: ed: unimplemented command
:
I do have ed in MobaXterm but it doesnt seem to like it....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] grep/sed/awk multi line array earthgecko Programming 13 10-08-2012 02:06 PM
Remove first character with sed and grep r_jr Programming 11 02-04-2012 04:37 AM
Help to remove script data from file using grep & sed djlane Programming 1 07-13-2010 09:10 AM
bash script with grep and sed: sed getting filenames from grep odysseus.lost Programming 1 07-17-2006 12:36 PM
sed & grep script? dolvmin Linux - Software 20 09-22-2003 07:30 AM


All times are GMT -5. The time now is 09:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration