Difference between revisions of "Linux/C3/The-sed-command/Khasi"

From Script | Spoken-Tutorial
Jump to: navigation, search
(Created page with "{| border =1 |'''Time''' |'''Narration''' |- | 00:01 | Pdiang sngewbha sha kane ka spoken tutorial halor ka '''sed''' – ka '''stream editor'''. |- | 00:05 | Ha kane ka...")
 
 
Line 48: Line 48:
 
|-
 
|-
 
| 00:51  
 
| 00:51  
|Ka '''sed''' ka wad iaki katto katne ki pattern jogn ka text haka jaka baka shong haka file.  
+
|Ka '''sed''' ka wad iaki katto katne ki pattern jong ka text haka jaka baka shong haka file.  
  
 
|-
 
|-
Line 68: Line 68:
 
|-
 
|-
 
|  01:19
 
|  01:19
|Nga don iaka file kaba khot ka '''seddemo.txt''' ha ka '''home directory''' version.
+
|Nga don iaka file kaba khot ka '''seddemo.txt''' ha ka '''home directory'''  
  
 
|-
 
|-
 
| 01:24
 
| 01:24
|To ngn peit iaki content jong ka.
+
|To ngin peit iaki content jong ka.
  
 
|-
 
|-
Line 172: Line 172:
 
|-
 
|-
 
| 03:32  
 
| 03:32  
|'''sed''' space  '''-n''' space hapoh ki single quotes (dollar) '''$p''' hadine ki single quotes space '''seddemo.txt '''
+
|'''sed''' space  '''-n''' space hapoh ki single quotes (dollar) '''$p''' hadien ki single quotes space '''seddemo.txt '''
  
 
|-
 
|-
Line 200: Line 200:
 
|-
 
|-
 
|  04:16
 
|  04:16
|Iaki output lah pyni naka lain b alai haduh ka lain ba hynnriew.
+
|Iaki output lah pyni naka lain balai haduh ka lain ba hynnriew.
  
 
|-
 
|-
Line 311: Line 311:
 
|-
 
|-
 
|  06:52
 
|  06:52
|'''sed''' space '''-n''' space hapoh ki single quotes front-slash (u square bracket ba plie)  '''[cC] (u square bracket ba khang) computers/w''' space '''computer_student.txt''' hadine ki single quotes space '''seddemo.txt '''
+
|'''sed''' space '''-n''' space hapoh ki single quotes front-slash (u square bracket ba plie)  '''[cC] (u square bracket ba khang) computers/w''' space '''computer_student.txt''' hadien  ki single quotes space '''seddemo.txt '''
  
 
|-
 
|-
Line 323: Line 323:
 
|-
 
|-
 
| 07:27
 
| 07:27
| To ngin peit iaka content jong ka '''computer_student'''
+
| To ngin peit iaka content jong ka '''computer_student'''
  
 
|-
 
|-
Line 394: Line 394:
 
|-
 
|-
 
|09:14
 
|09:14
|Kane ka wallam ia ngi sha ka bakut jogn kane ka tutorial.
+
|Kane ka wallam ia ngi sha ka bakut jong kane ka tutorial.
  
 
|-
 
|-

Latest revision as of 20:05, 18 April 2018

Time Narration
00:01 Pdiang sngewbha sha kane ka spoken tutorial halor ka sed – ka stream editor.
00:05 Ha kane ka tutorial, ngin pule iaka jingpyndonkam ka sed command.
00:11 Ngin ia peit ruh katto katne ki nuksa.
00:14 Ban record ia kane ka tutorial,
00:16 Nga pyndonkam ka Ubuntu Linux version 12.04 Operating System bad GNU BASH version 4.2.24
00:26 Sngewbha Kynmaw ba kan khambha ban don ka, GNU bash version 4 lane shalor ban practice ia kane ka tutorial.
00:34 Katkum ka jingdonkam,
00:36 phi dei ban tip iaki basics jong ka Linux terminal.
00:39 Naka bynta ki tutorial ba iadei bad kane, sngewbha leit sha ka website jong ngi kum ba la pyni.: http://spoken-tutorial.org
00:45 To ngin sdang daka jinglamphrang iaka sed:
00:48 ka sed kadei ka stream editor.
00:51 Ka sed ka wad iaki katto katne ki pattern jong ka text haka jaka baka shong haka file.
00:58 Ka leh ruh iaki katto katne ki jingpyni lane ban edit -
01:02 Ki editing function kum ban thep, ban buh pli bad ban delete ha ka text kaba iahap.
01:10 To ngin sdang daki katto katne ki nuksa.
01:13 Ngin sa peit kumno ban print dakaba pyndonkam ka sed command.
01:19 Nga don iaka file kaba khot ka seddemo.txt ha ka home directory
01:24 To ngin peit iaki content jong ka.
01:26 Ha kane ka file ngi don katto katne ki entries kum roll no, name, stream, marks, pass lane fail bad ka stipend amount.
01:39 Mynta, lehse ngi kwah ban print ia ka lain ba ar jong ka file.
01:44 Naka bynta kane, ngi donkam ban plié ia u terminal dakaba nion lang haka keyboard ia ki Ctrl + Alt bad T keys.
01:53 Mynta Type:
01:55 sed space hapoh ki single quotes ‘2p’ hadien ki single quotes space seddemo.txt
02:03 Nion Enter.
02:06 Hangne, u 2 u kdew ia ka jaka shong kaba long ka lain ba ar.
02:11 U p u kdew ia ka action, kaba long ban print (p).
02:16 Mynta peit haka output.
02:18 Ka pyni iaka file baroh kawei hynrei peit ba iaka lain ba ar lah print ar sien iaka.
02:25 Kane kadei ka jingleh ba long hi jong u p.
02:29 Ban print tang iaka lain ba ar,
02:31 type:
02:33 sed space -n space (Hapoh ki single quotes) 2p hadien ki single quotes space seddemo.txt
02:44 Nion Enter.
02:46 Ngi iohi ba la print tang ia ka lain ka ba ar.
02:51 U -n u ieng naka bynta ka ‘silent mode’ kaban iaid palat ia baroh ki output ki bym donkam
02:58 Nangta ngi ai iaka jaka haka stream kaba ngi kwah ban edit lane display.
03:03 Ngi kwah ban jied iaka lain kaba ar.
03:07 U p u kdew ia ka jingleh kaba ngi kwah ban leh, kata ban print iaka lain ka ba ar.
03:12 Bad ka seddemo.txt kadei ka kyrteng jong ka file.
03:18 Kane ka dei ka general syntax jong ka sed command.
03:21 Mynta to ngin print iaka lain kaba khadduh jong ka file.
03:26 To ngan pynkhuid ia u prompt.
03:29 Mynta type:
03:32 sed space -n space hapoh ki single quotes (dollar) $p hadien ki single quotes space seddemo.txt
03:42 Nion Enter. Ngi iohi ba la print iaka lain kaba khadduh.
03:49 Mynta wan biang sha ka text editor jong ngi.
03:51 Lehse ngi kwah ban print iaki entries na kaba 3 haduh kaba 6
03:57 Naka bynta kane, ngi donkam ban type ha u terminal:
04:00 sed space -n space hapoh ki single quotes 3 (comma) ,6p’ space seddemo.txt
04:14 Nion Enter.
04:16 Iaki output lah pyni naka lain balai haduh ka lain ba hynnriew.
04:21 Kano kano ka jingleh lah ban pynkylla da kaba pyndonkam u dak jingkyndit shwa ban leh eiei.
04:28 Lehse, lada ngi hap ban print ia baroh ki lain, lait noh tang naduh kaba 3 haduh 6, ngin type:

sed space -n space hapoh ki single quotes ‘3 (comma) ,6 (u dak jingkyndit) !p

04:44 hadien u single quotes space seddemo.txt
04:51 Nion Enter.
04:53 Ka output kala pyni.
04:56 to ngin phai biang sha ki slide jong ngi.
04:58 Line addressing bad context addressing.
05:03 Haduh mynta, ngi lah bthah thikna iaki lain haka file kaba dei ban leh ei ei
05:09 Ia kane la tip kum ka line addressing-
05:12 ka address bala bthah thikna daki line numbers.
05:15 Kane ka long kawei ka rukom ban adress.
05:18 Sa kawei pat ka rukom address ka long ka Context addressing-
05:22 Ki lain kiba don iaka context kaba thmu, lehse ka kyntien kaba thmu.
05:28 Lada ngi kwah ban leh eiei iaki lain kiba don iaka kyntien kaba la thmu, ngi pyndonkam ia ka context addressing.
05:36 lah ban pyndonkam iaki Regular expressions.
05:39 To ngin peit ka nuksa.
05:42 Wan phai pat sha u text editor jong ngi.
05:44 Lehse, ngi kwah ban print iaki katto katne ki lain kiba don iaka kyntien computers.
05:50 Wan biang sha u terminal jong ngi.
05:53 Mynta type:sed space -n space hapoh ki single quotes front slash (u square bracket ba plié) [cC] (u Square bracket ba khang) computers/p hadien ki single quotesspace seddemo.txt
06:20 Nion Enter.
06:23 NGin iohi bala pyni iaki lain daka kyntien "computers".
06:28 Ngi thoh pattern hapoh ki square brackets.
06:31 Kane ka long ba pyniahap ia kano kano lane baroh ar tylli naki character hapoh ki square brackets.
06:36 Haba ngi donkam ban pyniahap iaki pattern, donkam ban type iaki pattern hapdeng jong ki front slashes.
06:43 Ngi lah ban print iaka haka file ruh kumjuh, dakaba pyndonkam u jingjied w.
06:50 Na bynta kane, type:
06:52 sed space -n space hapoh ki single quotes front-slash (u square bracket ba plie) [cC] (u square bracket ba khang) computers/w space computer_student.txt hadien ki single quotes space seddemo.txt
07:18 Nion Enter.
07:21 Mynta baroh ki lain kiba iahap ynsa phah sha ka file computer_student.txt.
07:27 To ngin peit iaka content jong ka computer_student
07:31 Type: cat space computer_student.txt
07:38 Nion Enter.
07:42 Ngi iohi iaki entry. Ngi lah ruh ban don iaki pattern kiba ngi lah ban buh sha ki file bapher bapher
07:50 To ngin pynkhuid ia u prompt.
07:52 Type: sed space -n space -e space (hapoh ki single quotes) (front slash) ‘/electronics/w space electro.txt’ hadien ki single quotes space -e space (hapoh ki single quotes) (front slash) ‘/civil/w space civil.txt’ hadien ki single quote space seddemo.txt
08:24 Nion Enter
08:28 Hangne, la pyndonkam ia u -e ban kynthup lang iaki rukom ba bun.
08:34 Kane kan shna ar tylli ki file, kata electro.txt bad civil.txt.
08:41 Ban peit ki don aiu, type:
08:43 cat space electro.txt
08:49 Kane kan pyni iaki entry bad ka kyntien "electronics".
08:54 To ngin peit iaki content jong ka civil file.
08:58 Type: cat space civil.txt
09:01 Nion Enter.
09:03 Kane kan pyni iaki entry kiba don iaka kyntien "civil".
09:08 Ngin sa ia peit sa katto katne ki kynhun jong ki command ha kawei pat ka tutorial.
09:12 Ngan sa pyndonkam daka juh ka program.
09:14 Kane ka wallam ia ngi sha ka bakut jong kane ka tutorial.
09:18 To ngin phai biang sha ki slide jong ngi.
09:20 Ngin batai lyngkot,
09:22 Ha kane ka tutorial ngi la pule, ka sed:
09:25 Ban print pyndonkam ka sed. Line Addressing.
09:27 Context Addressing.
09:30 Kum ka assignment,
09:32 Pyndonkam ia kajuh ka text file seddemo.txt,
09:35 Pyrshang ban print iaki record naka lain ba 6 haduh ka lain ba 12.
09:40 Peit iaka video ba don haka link bala pyni harum.
09:42 Ka batai lyngkot iaka Spoken Tutorial project.
09:46 Lada phim don u bandwidth uba biang, phi lah ban download bad peit iaka.
09:51 Ka Spoken Tutorial Project Team:
09:53 Ka pynlong ki workshop dakaba pyndonkam ki spoken tutorials,
09:55 Ka ai certificate sha kito kiba pass haka online test
10:00 Ban tip kham bniah, sngewbha thoh sha contact@spoken-tutorial.org
10:07 Ka Spoken Tutorial Project kadei shi bynta jong ka Talk to a Teacher project.
10:11 La kyrshan iaka daka National Mission on Education through ICT, MHRD, Sorkar India.
10:18 Khambun ka jingtip halor kane ka mission ka don haka link bala pyni harum: http://spoken-tutorial.org\NMEICT-Intro.
10:25 Ia kane ka script la pynkylla sha ka Ktien Khasi da I Hezekiah Lyngdoh na Shillong. Khublei ba phi la iasnoh lang.

Contributors and Content Editors

Hezekiah2016