Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 80227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T21:16:10+00:00 2026-05-10T21:16:10+00:00

As being quite a newbie in linux, I have the follwing question. I have

  • 0

As being quite a newbie in linux, I have the follwing question. I have list of files (this time resulting from svn status) and i want to create a script to loop them all and replace tabs with 4 spaces.

So I want from

.... D      HTML/templates/t_bla.tpl M      HTML/templates/t_list_markt.tpl M      HTML/templates/t_vip.tpl M      HTML/templates/upsell.tpl M      HTML/templates/t_warranty.tpl M      HTML/templates/top.tpl A  +   HTML/templates/t_r1.tpl .... 

to something like

for i in <files>; expand -t4;do cp $i /tmp/x;expand -t4 /tmp/x > $i;done; 

but I dont know how to do that…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T21:16:11+00:00Added an answer on May 10, 2026 at 9:16 pm

    You can use this command:

    svn st | cut -c8- | xargs ls 

    This will cut the first 8 characters leaving only a list of file names, without Subversion flags. You can also add grep before cut to filter only some type of changes, like /^M/. xargs will pass the list of files as arguments to a given command (ls in this case).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 66k
  • Answers 66k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Not that I'm aware of - but one thing you… May 11, 2026 at 11:26 am
  • added an answer The difference between import module and from module import foo… May 11, 2026 at 11:26 am
  • added an answer You could cheat. Add the following to your tests: class… May 11, 2026 at 11:26 am

Related Questions

As being quite a newbie in linux, I have the follwing question. I have
How do you define your UserControls as being in a namespace below the project
Or any other design that has the gui widgets as being the first port
I've often heard Ruby's inject method criticized as being slow. As I rather like
I've been hearing things lately about the LiteSpeed webserver as being a drop-in replacement
I'm used to thinking of member functions as just being a special case of
I know I can figure out the name of the method as its being
Which is faster? someCondition has the same probability of being true as it has
In other words, can fn() know that it is being used as $var =
As I use the web, I regularly get runtime errors (usually javascript) being reported

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.