Vcoderz Community
We create websites that have it all, beauty & brains
Lebanon Web Design & Development - Coddict

Go Back   Vcoderz Community > Computer Zone > Computers & Information Technologies


Computers & Information Technologies Everything related to computers and internet.

Share Thread Tools Search this Thread
Old 12-22-2011   #1
Registered Member
Adam's Avatar
Last Online: 06-03-2013
Join Date: Feb 2008
Posts: 1,410
Thanks: 1,444
Thanked 1,235 Times in 689 Posts
Groans: 25
Groaned at 21 Times in 19 Posts
Default Linux terminal help

I have a school assignment that I have been stuck on for a couple of days.
What I need is a command that takes a sequence of letters and pairs them in a way that each pair has another adjacent pair next to it.
For example:
Should give me:
ab cd
bc de
cd ef
de fg
ef gh
I'm familiar with awk, sed and grep, which I think are the tools I'm supposed to use. But I'm still not getting it.

Adam is offline   Reply With Quote

  Vcoderz Community > Computer Zone > Computers & Information Technologies

linux, terminal

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
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 On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 09:51 AM.

Lebanon web design and development
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger