Skip to main content

Questions tagged [wrap]

1 vote
0 answers
74 views

The following expression is reasonably effective at wrapping long lines of text (for the purpose of dumping to my 128 characters wide terminal window and reading): s~(.{104,124}) ~\1\n~g This ...
Lumi's user avatar
  • 864
0 votes
2 answers
178 views

Test file: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmo tempor incididunt ut labore et dolore magna aliqua. Ut enim minim veniam quis nostrud exercitation ullamco laboris ...
jsx97's user avatar
  • 1,397
0 votes
2 answers
504 views

How to wrap a command to measure its elapsed time? Currently I do it using eval: do_cmd_named() { local name=$1 local cmd=$2 echo "$name" local start_time=$(date +%s) eval "$...
pmor's user avatar
  • 757
1 vote
0 answers
281 views

OS: SLES12, terminal emulator: mate 1.22.1, shell: tcsh $TERM: xterm-256color I want to set the line wrapping in the terminal so that any text that appears on the terminal (stdout or otherwise) wraps ...
Shoeman's user avatar
  • 23
2 votes
3 answers
329 views

I'm writing a wrapper script to wrap around the execution of another command; in this case the Chef kitchen command. My script will also be called kitchen and put earlier in $PATH so that running ...
derobert's user avatar
  • 113k
0 votes
1 answer
84 views

I found this process today but I don't recognize it. Searching i found that is a tool but I haven't installed it.(directly) Can it be a problem to consider? Thank you!
xilen0x's user avatar
0 votes
1 answer
270 views

A common packaging issue I encounter is when a tool is looking for relative resources in its root directory (install directory). Eg. pkg-name (/usr/share/pkg-name/pkg-name) is looking for resourceA (/...
noraj's user avatar
  • 445
0 votes
2 answers
283 views

ls /proc/ 1 10984 11246 131 144 167 2099 31788 4805 5375 6762 7594 8111 8722 consoles 10 10993 11247 1314 14400 168 21 32 4807 5379 6771 76 8112 ...
bohan Chen's user avatar
2 votes
1 answer
563 views

When a path is too long to fit on the terminal and it wraps, the following prompt is broken and you can't see properly what is typed. See screenshot below: These are the contents of .bashrc that set ...
user000001's user avatar
  • 3,825
0 votes
1 answer
272 views

Ncurses allows to separate a single line from screen, at level of physical screen (curscr), to devote it to e.g. a title bar, thus also creating a logical screen (stdscr), devoted to application's ...
Digger's user avatar
  • 23
8 votes
1 answer
4k views

I can get the effect that I want from running less -S but it seems fishy to me that there is no way to render the input without word-wrap after the file is opened. Is there anyway to less /tmp/...
Evan Carroll's user avatar
  • 35.2k
1 vote
2 answers
111 views

Given this file: $ cat file alfa bravo charlie delta echo foxtrot golf hotel india juliet kilo lima mike november oscar papa quebec romeo sierra tango uniform_victor_whiskey_xray yankee zulu I would ...
Zombo's user avatar
  • 1
9 votes
1 answer
560 views

This question asks about wrapping text at a certain column, and people suggest using fold or fmt but as far as I can see, these simply count characters and don't allow for non-printing characters. ...
IpsRich's user avatar
  • 837
0 votes
3 answers
405 views

I am executing the command mv /prod/new/outputlog/error.log /prod/hist/new/outputlog/error.log.32423423424 using shell script. Since the error.log file is not available the command writing an error ...
Murali's user avatar
  • 1
1 vote
1 answer
322 views

I just installed Enlightenment in OpenSuse Tumbleweed via YasT. I'm using E as the WM and entrance as the DM, if it matters. While checking its terminal emulator Terminology, I noticed that output ...
Gyan's user avatar
  • 1,065

15 30 50 per page