Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How to replace \t with \s

by Tux (Canon)
on Jan 20, 2021 at 14:17 UTC ( #11127143=note: print w/replies, xml ) Need Help??


in reply to How to replace \t with \s

EXPAND(1) User Commands + EXPAND(1) NAME expand - convert tabs to spaces SYNOPSIS expand [OPTION]... [FILE]... DESCRIPTION Convert tabs in each FILE to spaces, writing to standard output +. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory for short opt +ions too. -i, --initial do not convert tabs after non blanks -t, --tabs=N have tabs N characters apart, not 8 -t, --tabs=LIST use comma separated list of tab positions The last +specified position can be prefixed with '/' to specify a tab size + to use after the last explicitly specified tab stop. Also a +prefix of '+' can be used to align remaining tab stops relative to + the last specified tab stop instead of the first column --help display this help and exit --version output version information and exit

Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^2: How to replace \t with \s
by Lotus1 (Vicar) on Jan 20, 2021 at 22:26 UTC

    In Windows 8 expand is a decompression utility. I was able to find the one you reference in the bash shell provided by Git for Windows.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11127143]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2021-04-11 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?