{"id":27660,"date":"2025-08-17T06:10:24","date_gmt":"2025-08-17T03:10:24","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/"},"modified":"2025-09-01T18:08:21","modified_gmt":"2025-09-01T15:08:21","slug":"sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/","title":{"rendered":"sed ile Birden Fazla Bo\u015flu\u011fu Tek Bo\u015flukla De\u011fi\u015ftirme"},"content":{"rendered":"<p># sed ile \u00c7oklu Bo\u015fluklar\u0131 Tek Bo\u015flukla De\u011fi\u015ftirme<\/p>\n<p>Metin i\u015flemede, \u00f6zellikle b\u00fcy\u00fck veri k\u00fcmeleriyle \u00e7al\u0131\u015f\u0131rken, birden fazla bo\u015flu\u011fun tek bir bo\u015flukla de\u011fi\u015ftirilmesi s\u0131k kar\u015f\u0131la\u015f\u0131lan bir ihtiya\u00e7t\u0131r.  Bu i\u015flem, metin dosyalar\u0131n\u0131n d\u00fczenlenmesi, veri temizli\u011fi ve veri analizi gibi bir\u00e7ok alanda kullan\u0131l\u0131r.  <code class=\"language-\">sed<\/code> komutu, bu g\u00f6revi h\u0131zl\u0131 ve etkili bir \u015fekilde ger\u00e7ekle\u015ftirmek i\u00e7in g\u00fc\u00e7l\u00fc bir ara\u00e7t\u0131r. Bu makalede, <code class=\"language-\">sed<\/code> kullanarak \u00e7oklu bo\u015fluklar\u0131 tek bo\u015flukla nas\u0131l de\u011fi\u015ftirece\u011finizi, yeni ba\u015flayanlardan ileri seviye kullan\u0131c\u0131lara kadar ad\u0131m ad\u0131m \u00f6\u011freneceksiniz.<\/p>\n<p><strong>\u00d6\u011frenme Yol Haritas\u0131:<\/strong><\/p>\n<p>* <strong>Yeni Ba\u015flayan:<\/strong>  Temel <code class=\"language-\">sed<\/code> komutlar\u0131 ve basit bir \u00f6rnek.<br \/>\n* <strong>Orta Seviye:<\/strong> Ger\u00e7ek d\u00fcnya senaryolar\u0131 ve optimizasyon ipu\u00e7lar\u0131.<br \/>\n* <strong>\u0130leri Seviye:<\/strong> Performans analizi ve \u00f6zel durumlar (edge case&#8217;ler).<\/p>\n<p><strong>1. sed ile Metin \u0130\u015fleme: Temel Kavramlar<\/strong><\/p>\n<p><code class=\"language-\">sed<\/code> (stream editor), Unix tabanl\u0131 sistemlerde metin dosyalar\u0131n\u0131 d\u00fczenlemek i\u00e7in kullan\u0131lan bir komut sat\u0131r\u0131 arac\u0131d\u0131r.  Girdiler \u00fczerinde sat\u0131r sat\u0131r i\u015flem yapar ve \u00e7\u0131kt\u0131 olarak de\u011fi\u015ftirilmi\u015f metni \u00fcretir.  <code class=\"language-\">sed<\/code> komutlar\u0131 genellikle <code class=\"language-\">sed 'komut' dosya_adi<\/code> \u015feklinde kullan\u0131l\u0131r.  Bu makalede odaklanaca\u011f\u0131m\u0131z komut, yerine koyma i\u015flemini ger\u00e7ekle\u015ftiren <code class=\"language-\">s<\/code> (substitute) komutudur.<\/p>\n<p><code class=\"language-\">sed<\/code>&#8216;in g\u00fcc\u00fc, d\u00fczenli ifadeleri (regular expressions) desteklemesinden gelir. D\u00fczenli ifadeler, metin i\u00e7indeki kal\u0131plar\u0131 tan\u0131mlamak i\u00e7in kullan\u0131lan g\u00fc\u00e7l\u00fc bir ara\u00e7t\u0131r.  \u00c7oklu bo\u015fluklar\u0131 tek bo\u015flukla de\u011fi\u015ftirmek i\u00e7in,  birden fazla bo\u015flu\u011fun  <code class=\"language-\">sed<\/code> taraf\u0131ndan nas\u0131l tan\u0131mlanaca\u011f\u0131n\u0131 bilmek \u00f6nemlidir.  <code class=\"language-\">\\s<\/code> \u00f6zel karakteri, bo\u015fluk karakterini temsil ederken, <code class=\"language-\">\\s+<\/code> ise bir veya daha fazla bo\u015fluk anlam\u0131na gelir.<\/p>\n<p><strong>2. Yeni Ba\u015flayanlar \u0130\u00e7in: sed ile \u00c7oklu Bo\u015fluklar\u0131 Tek Bo\u015flukla De\u011fi\u015ftirme<\/strong><\/p>\n<p>En basit haliyle, \u00e7oklu bo\u015fluklar\u0131 tek bo\u015flukla de\u011fi\u015ftirmek i\u00e7in \u015fu komutu kullanabilirsiniz:<\/p>\n<pre class=\"language-bash\"><code>sed 's\/\\s\\+\/ \/g' dosya_adi<\/code><\/pre>\n<p>Bu komutta:<\/p>\n<p>* <code class=\"language-\">s<\/code>:  Yerine koyma (substitute) komutunu belirtir.<br \/>\n* <code class=\"language-\">\\s\\+<\/code>: Bir veya daha fazla bo\u015fluk karakterini temsil eden d\u00fczenli ifadedir.  <code class=\"language-\">\\<\/code> ka\u00e7\u0131\u015f karakteri, <code class=\"language-\">s<\/code> karakterinin \u00f6zel anlam\u0131n\u0131 iptal eder. <code class=\"language-\">+<\/code> ise bir veya daha fazla tekrar anlam\u0131na gelir.<br \/>\n* <code class=\"language-\">\/ \/<\/code>:  Bir bo\u015flukla de\u011fi\u015ftirme i\u015flemini tan\u0131mlar.<br \/>\n* <code class=\"language-\">g<\/code>:  Sat\u0131rda bulunan t\u00fcm e\u015fle\u015fmeleri de\u011fi\u015ftirmek i\u00e7in kullan\u0131l\u0131r.  E\u011fer <code class=\"language-\">g<\/code> eklenmezse sadece ilk e\u015fle\u015fme de\u011fi\u015ftirilir.<br \/>\n* <code class=\"language-\">dosya_adi<\/code>: \u0130\u015flem yap\u0131lacak dosyan\u0131n ad\u0131d\u0131r.<\/p>\n<p><strong>\u00d6rnek:<\/strong><\/p>\n<p><code class=\"language-\">ornek.txt<\/code> ad\u0131nda \u015fu i\u00e7eri\u011fe sahip bir dosyam\u0131z olsun:<\/p>\n<pre class=\"language-\"><code>Bu    bir   \u00f6rnek   metindir.\n\u00c7oklu  bo\u015fluklar  var.<\/code><\/pre>\n<p>Yukar\u0131daki <code class=\"language-\">sed<\/code> komutunu \u00e7al\u0131\u015ft\u0131rd\u0131\u011f\u0131m\u0131zda \u00e7\u0131kt\u0131 \u015fu \u015fekilde olacakt\u0131r:<\/p>\n<pre class=\"language-bash\"><code>sed 's\/\\s\\+\/ \/g' ornek.txt\nBu bir \u00f6rnek metindir.\n\u00c7oklu bo\u015fluklar var.<\/code><\/pre>\n<p>G\u00f6r\u00fcld\u00fc\u011f\u00fc gibi, \u00e7oklu bo\u015fluklar tek bo\u015flukla ba\u015far\u0131yla de\u011fi\u015ftirilmi\u015ftir.  Bu komutu <code class=\"language-\">> yeni_dosya.txt<\/code> ekleyerek \u00e7\u0131kt\u0131y\u0131 yeni bir dosyaya kaydedebilirsiniz.<\/p>\n<p><strong>3. Orta Seviye: Ger\u00e7ek D\u00fcnya Senaryolar\u0131 ve Optimizasyon \u0130pu\u00e7lar\u0131<\/strong><\/p>\n<p>\u015eimdi, daha ger\u00e7ek\u00e7i senaryolar\u0131 ele alal\u0131m.  \u00d6rne\u011fin, bir web scraping i\u015flemi sonucunda elde edilen bir metin dosyas\u0131nda \u00e7oklu bo\u015fluklar olabilir. Bu dosyay\u0131 daha temiz ve i\u015flenebilir hale getirmek i\u00e7in <code class=\"language-\">sed<\/code> kullanabiliriz.<\/p>\n<p><strong>\u00d6rnek:<\/strong>  Bir web sitesinden kaz\u0131d\u0131\u011f\u0131n\u0131z metin dosyas\u0131, ba\u015f\u0131nda ve sonunda gereksiz bo\u015fluklar ve \u00e7oklu bo\u015fluklar i\u00e7eriyor olabilir.  Bu durumu temizlemek i\u00e7in a\u015fa\u011f\u0131daki komutu kullanabilirsiniz:<\/p>\n<pre class=\"language-bash\"><code>sed 's\/^\\s*\/\/;s\/\\s*$\/\/;s\/\\s\\+\/ \/g' dosya_adi<\/code><\/pre>\n<p>Bu komutta:<\/p>\n<p>* <code class=\"language-\">s\/^\\s*\/\/<\/code>: Sat\u0131r ba\u015f\u0131ndaki s\u0131f\u0131r veya daha fazla bo\u015flu\u011fu siler. <code class=\"language-\">^<\/code> sat\u0131r ba\u015f\u0131n\u0131, <code class=\"language-\">*<\/code> s\u0131f\u0131r veya daha fazla tekrar\u0131 temsil eder.<br \/>\n* <code class=\"language-\">s\/\\s*$\/\/<\/code>: Sat\u0131r sonundaki s\u0131f\u0131r veya daha fazla bo\u015flu\u011fu siler. <code class=\"language-\">$<\/code> sat\u0131r sonunu temsil eder.<br \/>\n* <code class=\"language-\">s\/\\s\\+\/ \/g<\/code>:  Daha \u00f6nce a\u00e7\u0131klad\u0131\u011f\u0131m\u0131z gibi, \u00e7oklu bo\u015fluklar\u0131 tek bo\u015flukla de\u011fi\u015ftirir.<\/p>\n<p>Bu komut, metni hem ba\u015f\u0131ndaki hem de sonundaki gereksiz bo\u015fluklardan temizler ve \u00e7oklu bo\u015fluklar\u0131 tek bo\u015flukla de\u011fi\u015ftirir.  Bu, daha temiz ve i\u015flenebilir bir veri seti elde etmenizi sa\u011flar.  [fatihsoysal.com](https:\/\/fatihsoysal.com) sitesindeki blog yaz\u0131lar\u0131nda veri temizleme i\u015flemlerinde benzer teknikleri g\u00f6rebilirsiniz.<\/p>\n<p><strong>4. \u0130leri Seviye: Performans Analizi ve \u00d6zel Durumlar (Edge Case&#8217;ler)<\/strong><\/p>\n<p>\u00c7ok b\u00fcy\u00fck dosyalarla \u00e7al\u0131\u015f\u0131rken, <code class=\"language-\">sed<\/code>&#8216;in performans\u0131 \u00f6nemli hale gelir.  Performans\u0131 art\u0131rmak i\u00e7in baz\u0131 ipu\u00e7lar\u0131 \u015funlard\u0131r:<\/p>\n<p>* <strong><code class=\"language-\">sed -i<\/code> kullan\u0131m\u0131:<\/strong> <code class=\"language-\">sed -i<\/code> se\u00e7ene\u011fi, dosyay\u0131 do\u011frudan de\u011fi\u015ftirir.  Bu, dosyay\u0131 okuma ve yazma i\u015flemlerini azaltarak performans\u0131 art\u0131r\u0131r.  Ancak, bu se\u00e7ene\u011fi kullan\u0131rken dikkatli olun, \u00e7\u00fcnk\u00fc dosyan\u0131zda geri al\u0131namaz de\u011fi\u015fiklikler yapabilirsiniz.  Yedek dosya olu\u015fturmay\u0131 unutmay\u0131n!<br \/>\n* <strong><code class=\"language-\">awk<\/code> kullan\u0131m\u0131:<\/strong> Baz\u0131 durumlarda, <code class=\"language-\">awk<\/code> komutu <code class=\"language-\">sed<\/code>&#8216;den daha h\u0131zl\u0131 olabilir.  \u00d6zellikle karma\u015f\u0131k metin i\u015fleme i\u015flemleri i\u00e7in <code class=\"language-\">awk<\/code> daha uygun olabilir.<br \/>\n* <strong>Parallelizasyon:<\/strong> \u00c7ok b\u00fcy\u00fck dosyalar\u0131 daha k\u00fc\u00e7\u00fck par\u00e7alara b\u00f6lerek ve her par\u00e7ay\u0131 ayr\u0131 bir <code class=\"language-\">sed<\/code> i\u015flemiyle i\u015fleyerek parallelizasyon kullanabilirsiniz.  Bu, i\u015flem s\u00fcresini \u00f6nemli \u00f6l\u00e7\u00fcde azaltabilir.<\/p>\n<p><strong>\u00d6zel Durumlar:<\/strong><\/p>\n<p>Baz\u0131 durumlarda, sadece belirli karakterleri i\u00e7eren \u00e7oklu bo\u015fluklar\u0131 de\u011fi\u015ftirmek isteyebilirsiniz.  \u00d6rne\u011fin, sadece say\u0131sal karakterlerden sonra gelen \u00e7oklu bo\u015fluklar\u0131 de\u011fi\u015ftirmek i\u00e7in daha karma\u015f\u0131k d\u00fczenli ifadeler kullanabilirsiniz.  Bunun i\u00e7in <code class=\"language-\">sed<\/code>&#8216;in d\u00fczenli ifade yeteneklerini daha detayl\u0131 \u00f6\u011frenmeniz gerekebilir.  [fatihsoysal.com](https:\/\/fatihsoysal.com)&#8217;daki geli\u015fmi\u015f d\u00fczenli ifade \u00f6rneklerine bakabilirsiniz.<\/p>\n<p><strong>5.  sed ile \u00c7oklu Bo\u015fluk De\u011fi\u015ftirme: Uygulamal\u0131 K\u0131lavuz<\/strong><\/p>\n<p>Bu b\u00f6l\u00fcmde, \u00e7e\u015fitli senaryolar i\u00e7in ad\u0131m ad\u0131m <code class=\"language-\">sed<\/code> komutlar\u0131n\u0131 ve a\u00e7\u0131klamalar\u0131n\u0131 bulabilirsiniz.<\/p>\n<p><strong>Senaryo 1:<\/strong>  Bir paragrafta bulunan \u00e7oklu bo\u015fluklar\u0131 tek bo\u015flukla de\u011fi\u015ftirme:<\/p>\n<pre class=\"language-bash\"><code>echo &quot;Bu   bir   \u00f6rnek   paragraft\u0131r.  \u00c7oklu   bo\u015fluklar   var.&quot; | sed 's\/\\s\\+\/ \/g'<\/code><\/pre>\n<p><strong>Senaryo 2:<\/strong>  Bir dosyadaki t\u00fcm \u00e7oklu bo\u015fluklar\u0131 tek bo\u015flukla de\u011fi\u015ftirme ve dosyay\u0131 g\u00fcncelleme:<\/p>\n<pre class=\"language-bash\"><code>sed -i 's\/\\s\\+\/ \/g' dosya_adi<\/code><\/pre>\n<p><strong>Senaryo 3:<\/strong>  Ba\u015f\u0131nda ve sonunda bo\u015fluk olan sat\u0131rlardaki bo\u015fluklar\u0131 temizleme:<\/p>\n<pre class=\"language-bash\"><code>sed -i 's\/^\\s*\/\/;s\/\\s*$\/\/' dosya_adi<\/code><\/pre>\n<p><strong>6.  Performans Optimizasyonu i\u00e7in \u0130pu\u00e7lar\u0131<\/strong><\/p>\n<p>B\u00fcy\u00fck dosyalar \u00fczerinde \u00e7al\u0131\u015f\u0131rken, <code class=\"language-\">sed<\/code>&#8216;in performans\u0131n\u0131 art\u0131rmak i\u00e7in a\u015fa\u011f\u0131daki ipu\u00e7lar\u0131n\u0131 kullanabilirsiniz:<\/p>\n<p>* <strong><code class=\"language-\">-i<\/code> se\u00e7ene\u011fi:<\/strong> Dosyay\u0131 do\u011frudan de\u011fi\u015ftirmek i\u00e7in <code class=\"language-\">sed -i<\/code> se\u00e7ene\u011fini kullan\u0131n. Bu, okuma ve yazma i\u015flemlerini azalt\u0131r.<br \/>\n* <strong><code class=\"language-\">-u<\/code> se\u00e7ene\u011fi:<\/strong> B\u00fcy\u00fck dosyalar i\u00e7in <code class=\"language-\">sed -u<\/code> se\u00e7ene\u011fini kullan\u0131n. Bu, tampon boyutunu art\u0131r\u0131r ve performans\u0131 iyile\u015ftirir.<br \/>\n* <strong><code class=\"language-\">xargs<\/code> kullan\u0131m\u0131:<\/strong> \u00c7ok say\u0131da dosya \u00fczerinde i\u015flem yaparken <code class=\"language-\">xargs<\/code> ile <code class=\"language-\">sed<\/code>&#8216;i birle\u015ftirin. Bu, i\u015flemleri paralel olarak \u00e7al\u0131\u015ft\u0131rman\u0131za olanak tan\u0131r.<\/p>\n<p><strong>7. Sonu\u00e7<\/strong><\/p>\n<p><code class=\"language-\">sed<\/code> komutu, metin dosyalar\u0131nda \u00e7oklu bo\u015fluklar\u0131 tek bo\u015flukla de\u011fi\u015ftirmek i\u00e7in g\u00fc\u00e7l\u00fc ve etkili bir ara\u00e7t\u0131r.  Bu makalede, yeni ba\u015flayanlardan ileri seviye kullan\u0131c\u0131lara kadar farkl\u0131 seviyelerdeki kullan\u0131c\u0131lar i\u00e7in ad\u0131m ad\u0131m bir rehber sunulmu\u015ftur.  Ger\u00e7ek d\u00fcnya senaryolar\u0131 ve performans optimizasyonu ipu\u00e7lar\u0131 da verilmi\u015ftir.  Unutmay\u0131n ki, <code class=\"language-\">sed<\/code>&#8216;in g\u00fcc\u00fc d\u00fczenli ifadelerde gizlidir; bu ifadeleri \u00f6\u011frenmek, <code class=\"language-\">sed<\/code>&#8216;i daha etkili bir \u015fekilde kullanman\u0131za olanak tan\u0131r.<\/p>\n<p><strong>S\u0131k\u00e7a Sorulan Sorular:<\/strong><\/p>\n<p>1. <strong><code class=\"language-\">sed<\/code> komutu hangi i\u015fletim sistemlerinde \u00e7al\u0131\u015f\u0131r?<\/strong>  <code class=\"language-\">sed<\/code>, Unix tabanl\u0131 i\u015fletim sistemlerinde (Linux, macOS, BSD vb.) \u00e7al\u0131\u015f\u0131r.<br \/>\n2. <strong><code class=\"language-\">sed<\/code> komutunu geri almak m\u00fcmk\u00fcn m\u00fc?<\/strong> <code class=\"language-\">sed -i<\/code> kullanmad\u0131\u011f\u0131n\u0131z s\u00fcrece, <code class=\"language-\">sed<\/code> komutunun \u00e7\u0131kt\u0131s\u0131n\u0131 farkl\u0131 bir dosyaya y\u00f6nlendirerek orijinal dosyan\u0131z\u0131 koruyabilirsiniz.<br \/>\n3. <strong>\u00c7ok b\u00fcy\u00fck dosyalarda <code class=\"language-\">sed<\/code> yava\u015f \u00e7al\u0131\u015f\u0131yorsa ne yapabilirim?<\/strong>  Performans optimizasyonu b\u00f6l\u00fcm\u00fcnde belirtilen ipu\u00e7lar\u0131n\u0131 kullanabilirsiniz.<br \/>\n4. <strong><code class=\"language-\">sed<\/code>&#8216;de daha karma\u015f\u0131k d\u00fczenli ifadeler nas\u0131l kullan\u0131l\u0131r?<\/strong>  D\u00fczenli ifadeler hakk\u0131nda daha fazla bilgi edinmeniz ve bunlar\u0131 <code class=\"language-\">sed<\/code> komutlar\u0131yla nas\u0131l entegre edece\u011finizi \u00f6\u011frenmeniz gerekecektir.<br \/>\n5. <strong><code class=\"language-\">sed<\/code>&#8216;in alternatifleri var m\u0131?<\/strong>  <code class=\"language-\">awk<\/code>, <code class=\"language-\">perl<\/code> ve <code class=\"language-\">python<\/code> gibi diller de metin i\u015fleme i\u00e7in kullan\u0131labilir.<\/p>\n<p>Yazar: Fatih Soysal<\/p>\n","protected":false},"excerpt":{"rendered":"# sed ile \u00c7oklu Bo\u015fluklar\u0131 Tek Bo\u015flukla De\u011fi\u015ftirme Metin i\u015flemede, \u00f6zellikle b\u00fcy\u00fck veri k\u00fcmeleriyle \u00e7al\u0131\u015f\u0131rken, birden fazla bo\u015flu\u011fun&hellip;","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1374],"tags":[],"class_list":{"0":"post-27660","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-sed","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>sed ile Birden Fazla Bo\u015flu\u011fu Tek Bo\u015flukla De\u011fi\u015ftirme<\/title>\n<meta name=\"description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"sed ile Birden Fazla Bo\u015flu\u011fu Tek Bo\u015flukla De\u011fi\u015ftirme\" \/>\n<meta property=\"og:description\" content=\"Hi\u00e7bir etiketi bulunamad\u0131.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-17T03:10:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-01T15:08:21+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"sed ile Birden Fazla Bo\u015flu\u011fu Tek Bo\u015flukla De\u011fi\u015ftirme\",\"datePublished\":\"2025-08-17T03:10:24+00:00\",\"dateModified\":\"2025-09-01T15:08:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/\"},\"wordCount\":1244,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"articleSection\":[\"Sed\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/\",\"name\":\"sed ile Birden Fazla Bo\u015flu\u011fu Tek Bo\u015flukla De\u011fi\u015ftirme\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-08-17T03:10:24+00:00\",\"dateModified\":\"2025-09-01T15:08:21+00:00\",\"description\":\"Hi\u00e7bir etiketi bulunamad\u0131.\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"sed ile Birden Fazla Bo\u015flu\u011fu Tek Bo\u015flukla De\u011fi\u015ftirme\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"sed ile Birden Fazla Bo\u015flu\u011fu Tek Bo\u015flukla De\u011fi\u015ftirme","description":"Hi\u00e7bir etiketi bulunamad\u0131.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/","og_locale":"tr_TR","og_type":"article","og_title":"sed ile Birden Fazla Bo\u015flu\u011fu Tek Bo\u015flukla De\u011fi\u015ftirme","og_description":"Hi\u00e7bir etiketi bulunamad\u0131.","og_url":"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-08-17T03:10:24+00:00","article_modified_time":"2025-09-01T15:08:21+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"7 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"sed ile Birden Fazla Bo\u015flu\u011fu Tek Bo\u015flukla De\u011fi\u015ftirme","datePublished":"2025-08-17T03:10:24+00:00","dateModified":"2025-09-01T15:08:21+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/"},"wordCount":1244,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"articleSection":["Sed"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/","url":"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/","name":"sed ile Birden Fazla Bo\u015flu\u011fu Tek Bo\u015flukla De\u011fi\u015ftirme","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-08-17T03:10:24+00:00","dateModified":"2025-09-01T15:08:21+00:00","description":"Hi\u00e7bir etiketi bulunamad\u0131.","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/sed-ile-birden-fazla-boslugu-tek-boslukla-degistirme\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"sed ile Birden Fazla Bo\u015flu\u011fu Tek Bo\u015flukla De\u011fi\u015ftirme"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/27660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=27660"}],"version-history":[{"count":1,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/27660\/revisions"}],"predecessor-version":[{"id":28608,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/27660\/revisions\/28608"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=27660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=27660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=27660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}